convert_coordinates: Convert data frame coordinates to another coordinate...

Description Usage Arguments Value

View source: R/convert_coordinates.R

Description

Convert data frame coordinates to another coordinate reference system

Usage

1
2
convert_coordinates(dat, from, to, names_from = c("x", "y"),
  names_to = names_from)

Arguments

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

Value

data frame with converted coordinates


rogiersbart/rtoolz documentation built on Aug. 20, 2020, 2:48 p.m.