xToCoords | R Documentation |
This function extracts geographic coordinates from a data frame, matrix, or SpatialPoints
* object
xToCoords(x, longLat = NULL, out = "default")
x |
A |
longLat |
Two-element character vector or two-element integer vector. If |
out |
Type of object to return. Options are:
|
Object of classSpatialPoints
, classSpatVector
, classsf
, a 2-column matrix
, or a 2-column data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.