logbin_setedges: Logarithmic binning function with predefined edges

Description Usage Arguments Value See Also

View source: R/logbin.R

Description

Logarithmic binning function with predefined edges

Usage

1
logbin_setedges(x, y = NULL, edges)

Arguments

x

Vector of values to be binned in the x dimension. Usually diameter.

y

Vector of values to be binned in the y dimension (not required, defaults to NULL). Usually something like biomass production.

edges

Data frame that is output by logbin(). The bin edges from this data frame are used as pre-defined bin edges to bin x and y.

Value

A data frame with columns bin_midpoint (midpoint of bins on x-axis), bin_value (height of bins), bin_count (number of individuals in bins), bin_min (lower edge of bins on x-axis), bin_max (upper edge of bins on x-axis).

See Also

logbin


qdread/forestscaling documentation built on Dec. 15, 2021, 12:42 a.m.