Hx_root.f: find root (height) given diameter, measurements and fitted...

Description Usage Arguments Details Value Author(s)

View source: R/Hx_root.f.R

Description

Internal function not usually called by users

Usage

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

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.

...

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


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