This function converts map projection (and/or datum) used by an object of class prevR into another one.
object of class prevR.
new map projection.
proj could be a character string corresponding to a
PROJ.4 projection (see https://proj.org/ for more details)
or an object of class sp::CRS.
changeproj transform the columns "x" and "y" of the slot
object and convert
boundary using the new map projection defined by
If applicable, the slot
rings will be recalculated.
object expressed in the projection
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.