Description Usage Arguments Value Examples
Create a new polygon from the coordinates of mapped points
1 | make_polygons(r, my_end, poly_name = "unspecified", loop_r)
|
r |
integer specifying the region of current interest |
my_end |
n x 2 list of mapped points, i.e. the points to which the polygon should extend |
poly_name |
character string to name the new polygon (defaults to "unspecified") |
loop_r |
boolean indicating whether the points are going in a loop |
SpatialPolygons
object created from the mapped points
1 2 | new_poly <- make_polygons(r = 5, my_end = mappedPoints, loop_r = FALSE)
plot(new_poly)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.