Description Usage Arguments Value
View source: R/spatial_nutrient.R
Assign a Coordinate Reference System proj4 string and identify geographical
coordinates in a data.frame
to return a SpatialPoints object. Geographical coordinates
must be present in the data.frame
and named X
, and Y
.
1 | to_sp(tab, crs_s)
|
tab |
a data.fram typically build via |
crs_s |
a proj4string coordinate reference system typically returned by |
a sp::SpatialPoints()
for tab
with a crs assigned and X, Y coordinates identified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.