Int_E_VOL_AB_HmDm_HT_dHt.f: Int_E_VOL_AB_HmDm_HT_dHt.f

View source: R/Int_E_VOL_AB_HmDm_HT_dHt.f.R

Int_E_VOL_AB_HmDm_HT_dHt.fR Documentation

Int_E_VOL_AB_HmDm_HT_dHt.f

Description

Internal function not usually called by users

Usage

Int_E_VOL_AB_HmDm_HT_dHt.f(
  Hm,
  Dm,
  A = NULL,
  B = NULL,
  iDH = "D",
  mw_HtT,
  sd_HtT,
  par.lme,
  Rfn = list(fn = "sig2"),
  IA = FALSE,
  nGL = 51,
  ...
)

Arguments

Hm

Numeric vector of stem heights (m) along which diameter measurements were taken for calibration. Can be of length 1. Must be of same length as Dm

Dm

Numeric vector of diameter measurements (cm) taken for calibration. Can be of length 1. Must be of same length as Hm

A

Numeric scalar defining the lower threshold of a stem section for volume estimation. Depends on iDH. If iDH = "D", a diameter (cm), if iDH = "H", a height (m). If NULL, section starts at lowest point.

B

Numeric scalar defining the upper threshold of a stem section for volume estimation. Depends on iDH. If iDH = "D", a diameter (cm), if iDH = "H", a height (m). If NULL, section ends at tip.

iDH

Character scalar. Either "D" or "H". Type of threshold for section volume estimation. See A or B.

mw_HtT

Scalar. Tree height (m)

sd_HtT

Scalar. Standard deviation of stem height. Can be 0 if height was measured without error

par.lme

List of taper model parameters obtained by TapeR_FIT_LME.f

Rfn

list with function name to provide estimated or assumed residual variances for the given measurements, optionally parameters for such functions

IA

Logic scalar. If TRUE, variance calculation of height estimate based on 2-point distribution. If FALSE, variance calculation of height estimate based on Normal approximation.

nGL

Numeric scalar. Number of support points for numerical integration.

...

not currently used

Details

integrating the taper curve considering uncertainty of height measurement

Value

list with expected volume, variance of volume and squared expected value incorporating the uncertainty of height measurement

Author(s)

Edgar Kublin


TapeR documentation built on Aug. 16, 2023, 9:07 a.m.