add_area_field.Rd
Add and calcualte an area field for polygon sf objects. Area is calcuated based on the linear unit of the assigned projection of the input sf object.
add_area_field(sf_obj, field_name)
sf_obj | An polygon sf object |
---|---|
field_name | character. The name of the area field. |
Modified sf object
Chris R. Vernon (chris.vernon@pnnl.gov)