get_stand: Calculates missing stand-level variable from the set: N, BA,...

Description Usage Arguments Value Author(s) Examples

View source: R/get_stand.R

Description

When two of the stand level variables: basal area (BA, m2/ha), number of trees (N, trees/ha) or quadratic diameter (QD, cm) are given, it returns the value of the remaining missing stand-level parameter.

Usage

1
get_stand(BA = NA, N = NA, QD = NA)

Arguments

BA

Basal area (m2/ha) of the stand

N

Number of trees (trees/ha) of the stand

QD

Quadratic diameter (cm) of the stand

Value

The missing stand level parameter: BA, N or QD

Author(s)

S. Palmas, S.A. Gezan and P. Moreno

Examples

1
2
3
4
5
6
7
8
# Example 1: Obtain quadratic diameter
(QD <- get_stand(BA=25.2, N=1400))

# Example 2: Obtain basal area
(BA <- get_stand(QD=17, N=1400))

# Example 3: Obtain number of trees
(N <- get_stand(BA=25.2, QD=17))

sgezan/Nothopack documentation built on April 25, 2021, 8:03 a.m.