Calculate partial cross-section area from width and height vectors

calcdA_vec(w, h, zero = c("first", "minimum", "median"))

Arguments

w

vector of widths

h

vector of heights

zero

Where to reference the zero value of dA?