motif_transfer.RdMotif Transfer
motif_transfer(tile, shift)
| tile | is sf object likes as output of motif function. |
|---|---|
| shift | is 2-D shift vector like c(1,1). |
sf object
library(ggplot2) tile <- motif(polyLine = T, drawBox = T) tile_2_0 <- motif_transfer(tile, shift = c(2,0)) tilePlotter(tile) #> Coordinate system already present. Adding new coordinate system, which will replace the existing one.tilePlotter(rbind(tile, tile_2_0)) #> Coordinate system already present. Adding new coordinate system, which will replace the existing one.
![]()