Simple wrapper around spTransform to convert from WGS84 to Alaska Albers projection.

wgs2ak(xy)

Arguments

xy

a 2-column matrix or data frame of lon/lat coordinates.

Value

data frame with new attached coordinates.

Examples

xy <- get_coords("Fairbanks") xy
#> # A tibble: 1 x 2 #> lon lat #> <dbl> <dbl> #> 1 -148. 64.8
wgs2ak(xy)
#> x y #> [1,] 297717.7 1667064