SK_VOLab_EBLUP_LME.f: taper volume estimation

Description Usage Arguments Details Value Author(s)

View source: R/SK_VOLab_EBLUP_LME.f.R

Description

Internal function not usually called by users

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
SK_VOLab_EBLUP_LME.f(
  xm,
  ym,
  a = 0,
  b = 1,
  Ht,
  par.lme,
  R0 = FALSE,
  IntPolOpt = TRUE,
  ...
)

Arguments

xm

relative heights for which measurements are available

ym

corresponding diameter measurements in height xm

a

relative height of lower threshold of stem section

b

relative height of upper threshold of stem section

Ht

tree height

par.lme

List of taper model parameters obtained by TapeR_FIT_LME.f

R0

indicator whether taper curve should interpolate measurements

IntPolOpt

option for method of interpolation, if TRUE using a natural interpolating spline (splinefun), if FALSE using a smoothing spline (smooth.spline); defaults to TRUE

...

not currently used

Details

with R0 one can decide whether the measured diameters are forced to lie exactly on the taper curve; this interferes somewhat with the IntPolOpt, which determines the method of taper curve point interpolation for integration. The default TRUE (used throughout all function calls) applies natural interpolating splines, hence this does not contradict the optional use of R0=TRUE.

Value

List with two elements, the estimated volume and its variance

Author(s)

Edgar Kublin


jonibio/TapeR documentation built on Aug. 22, 2020, 4:44 p.m.