fm_unify_coords | R Documentation |
Convert coordinate information to a 3-column matrix. This is mainly an internal function, and the interface may change.
fm_unify_coords(x, crs = NULL)
## S3 method for class 'NULL'
fm_unify_coords(x, crs = NULL)
## Default S3 method:
fm_unify_coords(x, crs = NULL)
## S3 method for class 'Spatial'
fm_unify_coords(x, crs = NULL)
## S3 method for class 'sf'
fm_unify_coords(x, crs = NULL)
## S3 method for class 'sfc'
fm_unify_coords(x, crs = NULL)
x |
A object with coordinate information |
crs |
A optional crs object to convert the coordinates to |
A coordinate matrix
fm_unify_coords(fmexample$loc_sf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.