Lorey_mean_height: Lorey's mean height.

View source: R/GeneralHelpers.R

Lorey_mean_heightR Documentation

Lorey's mean height.

Description

Lorey's mean height is calculated by dividing the sum of the product of the height and basal area of each tree by the total stand basal area.

Usage

Lorey_mean_height(tree_height_m, basal_area_m2)

Arguments

tree_height_m

numeric vector. Tree height in meters.

basal_area_m2

numeric vector. Basal area in m2.

Details

This function can handle vectors.

Value

Lorey's mean height.

Examples

heights <- c(15,12,14,15,10)
ba <- c(0.4,0.5,0.6,0.5,0.5)

Lorey_mean_height(tree_height_m=heights,basal_area_m2=ba)


Silviculturalist/forester documentation built on April 20, 2024, 2:13 p.m.