Hx_root.f {TapeR}R Documentation

find root (height) given diameter, measurements and fitted model

Description

Internal function not usually called by users

Usage

Hx_root.f(Hx, Dx, Hm, Dm, mHt, sHt, par.lme, Rfn, ...)

Arguments

Hx

Numeric vector of stem heights (m) along which to return the expected diameter

Dx

expected diameter

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

mHt

Scalar. Tree height (m)

sHt

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

...

not currently used

Details

function is called by uniroot inside E_HDx_HmDm_HT.f

Value

deviation between observed diameter Dx and diameter in height Hx.

Author(s)

Edgar Kublin


[Package TapeR version 0.5.3 Index]