Learn R Programming

TapeS (version 0.13.2)

lmeSKEBLUP: diameter prediction E[d] for TapeR-object

Description

Prediction diameter (no variances) for given tree and TapeR-object using BSpline Matrix all in C++

Usage

lmeSKEBLUP(xm, ym, xp, par, RV)

Value

a list holding several elements, perspectively only the estimated diameter

Arguments

xm

relative height of measured diameter

ym

measured diameter for calibration

xp

relative height for which diameter prediction is required

par

a TapeR-object (including padded knots vector)

RV

numeric vector holding assumed residual variance for each observation

Details

code implementation in C++ following the code base of TapeR. Bspline matrix code taken from R-package splines to avoid the need of calling R from C.