Description Usage Arguments Value
View source: R/convert_coordinates.R
Convert data frame coordinates to another coordinate reference system
1 2 | convert_coordinates(dat, from, to, names_from = c("x", "y"),
names_to = names_from)
|
dat |
data frame with x and y coordinates |
from |
coordinate reference system of the data |
to |
target coordinate reference system |
names_from |
names from the data frame coordinate columns |
names_to |
names to use for the converted coordinates |
data frame with converted coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.