Learn R Programming

dendrometry (version 0.0.2)

loreyHeight: Lorey's mean height

Description

The average height of the trees in a plot, weighted by their basal area.

Usage

loreyHeight(basal, height)

Value

Average Lorey height of a species.

Arguments

basal

numeric, individual basal areas.

height

numeric vector of individual heights.

See Also

height, basal_i

Examples

Run this code
set.seed(1)
donnee <- data.frame(hauteur = rnorm(10, 12, 3), area = basal_i(rnorm(10, 100, 20)))
loreyHeight(basal = donnee$area, height = donnee$hauteur)

Run the code above in your browser using DataLab