points_transform: Transform a set of coordinates

View source: R/misc.R

points_transformR Documentation

Transform a set of coordinates

Description

Transform a set of coordinates

Usage

points_transform(
  x,
  y = NULL,
  from_proj = get_crs("longlat"),
  to_proj = get_crs("daymet")
)

Arguments

x

numeric locations such as decimal degrees longitude. If y is not provided then x must be a two column matrix providing [x,y].

y

numeric locations such as decimal degrees latitude

from_proj

projection of the input coordinates

to_proj

projection of the output coordinates

Value

2 column matrix of lcc [x,y]


BigelowLab/daymet documentation built on Aug. 29, 2023, 8:21 a.m.