SK_EBLUP_LME.f: Evaluate fitted taper curve

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/SK_EBLUP_LME.f.R

Description

This is the actual function to estimate diameters according to the fitted mixed B-splines model.

Usage

1
SK_EBLUP_LME.f(xm, ym, xp, par.lme, R0 = FALSE, ...)

Arguments

xm

relative heights for which measurements are available

ym

corresponding diameter measurements in height xm

xp

relative heights for which predictions are required

par.lme

Fitted model object, return of TapeR_FIT_LME.f

R0

boolean, should residual variance-covariance matrix be set to zero on off-diagonal elements? Defaults to FALSE. See details.

Details

This function is the actual working horse for prediction using the fitted taper model. Based on the model par.lme and the measured diameters ym and corresponding (relative) heights xm of a specific tree (there might be just one measurement), the random effect parameters and subsequently diameters are estimated. Depending on the boolean parameter R0, the calibrated taper curve is forced through the given diameter ym (R0 = TRUE), or calibrated using the complete residual variance-covariance information (R0 = FALSE). See Kublin et al. (2013) p. 987 for more details.

Value

a list holding nine elements:

Author(s)

Edgar Kublin

See Also

E_DHx_HmDm_HT.f, E_VOL_AB_HmDm_HT.f

Examples

1
2
3
4
5
6
7
data("SK.par.lme")
TapeR:::SK_EBLUP_LME.f(1.3/27, 30, 1.3/27, SK.par.lme)
## using empirical best linear unbiased estimator, estimate != 30
TapeR:::SK_EBLUP_LME.f(1.3/27, 30, 1.3/27, SK.par.lme, R0=FALSE)$yp
## interpolate / force through given diameter, estimate  == 30
TapeR:::SK_EBLUP_LME.f(1.3/27, 30, 1.3/27, SK.par.lme, R0=TRUE)$yp
TapeR:::SK_EBLUP_LME.f(1.3/27, 30, c(1.3, 5)/27, SK.par.lme)

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