Description Usage Arguments Value Examples
Transform a 2-variable dataframe into a list of single-point SpatialPoints.
1 |
df |
a 2-variable dataframe |
a list of single-point SpatialPoints
1 2 3 4 5 | library(sf)
# SpatialPoints
stations <- as(imhen::stations, "Spatial")
df2splist(as.data.frame(stations@coords))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.