poly_tester | R Documentation |
Tests whether a polygon
has the correct geometry,
namely; S4
or sf
. Also, tests
that there is a valid projection attached to
the polygon.
poly_tester(poly)
poly |
(as |
Returns an error message if the polygon is not in the correct geometry or CRS.
Returns error messages, or mute
#load boundary of Camden
load(file = system.file("extdata", "camden.rda",
package="stppSim"))
boundary = camden$boundary # get boundary
poly_tester(poly=boundary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.