logbin: Logarithmic binning function

Description Usage Arguments Value See Also

View source: R/logbin.R

Description

Logarithmic binning function

Usage

1
logbin(x, y = NULL, n)

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.

n

Integer, number of bins

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_setedges


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