coordinatize | R Documentation |
Convert georeferenced data.frames into projected SpatialPointsDataFrames
coordinatize(dt, latname = "latdec", lonname = "londec")
dt |
data.frame with two coordinate columns |
latname |
character column name of the "y" coordinate |
lonname |
character column name of the "x" coordinate |
## Not run: dt<-coordinatize(streamget(201002), latname = "lat_dd", lonname = "lon_dd") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.