dfTransform: Transform CRS coordinates data frame Transform coordinates...

View source: R/create.outer.R

dfTransformR Documentation

Transform CRS coordinates data frame Transform coordinates held in a dataframe given the starting and final coordinate reference systems

Description

Transform CRS coordinates data frame

Transform coordinates held in a dataframe given the starting and final coordinate reference systems

Usage

dfTransform(df, x, y, CRS1 = "EPSG:4326", CRS2)

Arguments

x

Name of the column (variable) with longitude

y

Name of the column (variable) with latitude

CRS1

CRS of the input coordinates

CRS2

CRS to use for the output coordinates

data

frame with, minimally, longitude and latitude columns

Value

data frame with reprojected coordinates. Other columns of the input data frame are preserved.


JeffWeinell/misc.wrappers documentation built on Sept. 20, 2023, 12:42 p.m.