change_projection: Change projection of coordinates within a data frame

Description Usage Arguments Value

View source: R/gis.R

Description

Change projection of coordinates within a data frame

Usage

1
change_projection(df, xcol, ycol, crs_from, crs_to)

Arguments

df

the data frame containing the coordinates

xcol

the name of the column containing the longitude coordinate

ycol

the name of the column containing the latitude coordinate

crs_from

the crs projection to convert from

crs_to

the crs projection to convert to

Value

the original data frame with the coordinates converted


gtm19/angularsweep documentation built on July 27, 2020, 2 p.m.