chopped_area: Calculate the area of a slice of a polygon as numeric

chopped_areaR Documentation

Calculate the area of a slice of a polygon as numeric

Description

Calculate the area of a slice of a polygon as numeric

Usage

chopped_area(xmax, coords, ply)

Arguments

xmax

A float or integer value for the x (longitude) coordinate maximum

coords

A list containing xmin, ymin, and ymax

ply

An sf polygon object

Value

numeric area of a polygon slice

Author(s)

Chris R. Vernon (chris.vernon@pnnl.gov)


JGCRI/rgis documentation built on July 27, 2023, 1:47 p.m.