project | R Documentation |
Project points
project(pts, from = NULL, to)
pts |
A vector or list of points. |
from,to |
The from and to projection. A character string. If from is left NULL, then it is assumed to be projected from WGS84. |
New lines are stripped out of projection strings to facilitate collapsing them onto multiple lines.
pts <- c(-71,41) to = '"+proj=gnom +lat_0=90 +lon_0=0 +x_0=6300000 +y_0=6300000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"' project(pts, to = to)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.