Description Usage Arguments Value Examples
Draws a SpatialPolygons or SpatialPolygonsDataFrame object in a 'hand drawn' style.
1 2 |
rough |
controls the 'roughness' of the sketched polygon edges |
... |
parameters passed to |
spdf |
a SpatialPolygons or SpatialPolygonsDataFrame object |
the input spdf
- useful for pipelines
1 2 3 | "POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))" %>% readWKT -> p1
# Create a blank canvas with extent containing p1
p1 %>% make_canvas %>% sketch_it(col='indianred')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.