View source: R/catchment_geometry.R
add_areasqkm | R Documentation |
Compute km2 area Short hand for safely computing area in sqkm and returning as numeric vector.
add_areasqkm(x)
x |
sf object |
numeric vector
library(sf)
nc = st_read(system.file("shape/nc.shp", package="sf"))
add_areasqkm(nc[1,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.