powered by
Create a new polygon from the coordinates of mapped points
make_polygons(r, my_end, poly_name = "unspecified", loop_r)
integer specifying the region of current interest
n x 2 list of mapped points, i.e. the points to which the polygon should extend
character string to name the new polygon (defaults to "unspecified")
boolean indicating whether the points are going in a loop
SpatialPolygons object created from the mapped points
SpatialPolygons
# NOT RUN { new_poly <- make_polygons(r = 5, my_end = mappedPoints, loop_r = FALSE) plot(new_poly) # }
Run the code above in your browser using DataLab