To simplify and accelerate the computation of flood duration
with `flood3`

in massive areas this function provides a simple
tiling algorithm.

## Usage

`createTiles(x, size_x, size_y, subset = TRUE)`

## Arguments

- x
has to by type `sf`

.

- size_x
tile size along the x-axis in the units of the current projection (`numeric`

).

- size_y
tile size along the y-axis in the units of the current projection (`numeric`

).

- subset
`boolean`

determining whether all or only intersecting tiles are returned.

## Value

`sf`

object containing tiles covering `x`

.