View source: R/toSpatialPoints.R
toSpatialPoints | R Documentation |
Convert a data.frame with lonlat columns to a SpatialPoints object
toSpatialPoints(x, lonlat, verbose = TRUE)
x |
an object of class "data.frame" |
lonlat |
a vector of length 2 given the lon/lat column names e.g. c("Lon","Lat") |
verbose |
TRUE (by default) to display logs |
an object of class "SpatialPoints"
Emmanuel Blondel emmanuel.blondel1@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.