Union of two tile

motif_union(tile1, tile2)

Arguments

tile1

sf object

tile2

sf object

Value

sf object

Examples

library(ggplot2)
tile <- motif(polyLine = F, drawBox = T)
tile_2_0 <- motif_transfer(tile, shift = c(1,0))
tilePlotter(st_union(tile, tile_2_0),tileColor = c("red","yellow","blue"))
#> Warning: attribute variables are assumed to be spatially constant throughout all geometries
#> You set 3 colors, but you should choose 4
#> Coordinate system already present. Adding new coordinate system, which will replace the existing one.