Simple wrapper around spTransform
to convert from WGS84 to Alaska Albers projection.
wgs2ak(xy)
xy | a 2-column matrix or data frame of lon/lat coordinates. |
---|
data frame with new attached coordinates.
#> # A tibble: 1 x 2 #> lon lat #> <dbl> <dbl> #> 1 -148. 64.8wgs2ak(xy)#> x y #> [1,] 297717.7 1667064