param_i: Structural parameters for stands

View source: R/dendrometry.R

param_iR Documentation

Structural parameters for stands

Description

param computes structural parameters per stands specified in factor arguments.
param_i computes structural parameters for a stand.

Usage

param_i(data, plot = "", DBH = "", height = "", crown = "", area = NULL,
k = 100, kCrown = 1)

param(data, plot = "", DBH = "", height = "", crown = "", area = NULL,
k = 100, kCrown = 1, factor1 = "", factor2 = "", factor3 = "")

Arguments

data

a data frame, list, tibble or object coercible by as.data.frame to a data frame containing the variables whose names would be given in DBH, height and crown.

plot, DBH, height, crown

optional characters, names of the variables of data containing respectively the plot's identification or code, the diameter at breast height, the tree total height, and the crown diameter of each individual tree.

area

numeric, area of a plot (see basal section details for unit).

k, kCrown

numeric, used to convert diameter and crown diameter units respectively. Default are k = 100 and kCrown = 1. (see basal)

factor1, factor2, factor3

character, optional variables of the data frame that define subsets to consider.

Details

Blackman and Green indices are returned if combinations of specified factor1..3 contain more than one plot. Otherwise, the right are returned as attributes.

Value

A vector, matrix or list of matrices containing of structural parameters.

Examples

param_i(
  data = Logging, plot = "tree", DBH = "diametreMedian",
  height = "hauteur", crown = "perimetreBase", area = 0.03, kCrown = 100
)

dendrometry documentation built on June 8, 2025, 10:38 a.m.