add_areasqkm: Compute km2 area Short hand for safely computing area in sqkm...

View source: R/catchment_geometry.R

add_areasqkmR Documentation

Compute km2 area Short hand for safely computing area in sqkm and returning as numeric vector.

Description

Compute km2 area Short hand for safely computing area in sqkm and returning as numeric vector.

Usage

add_areasqkm(x)

Arguments

x

sf object

Value

numeric vector

Examples

library(sf)
nc = st_read(system.file("shape/nc.shp", package="sf"))
add_areasqkm(nc[1,])

dblodgett-usgs/hyRefactor documentation built on Oct. 14, 2024, 12:59 p.m.