model_height: Fit a height-diameter model.

Description Usage Arguments Details Value See Also Examples

Description

This functions wraps BIOMASS::modelHD(), which you can see for more options and details.

Usage

1
model_height(data, method = c("log1", "log2", "weibull", "michaelis"))

Arguments

data

A ForestGEO-like census-dataframe.

method

A character string. One of these:

  • log 1 (equivalent to a power model): log(H) = a + b * log(D)

  • log 2: log(H) = a + b * log(D) + c * log(D)^2

  • weibull: H = a * (1 - exp(-(D / b) ^ c))

  • michaelis: H = (A * D) / (B + D)

Details

All the back transformations for log-log models are done using the Baskerville correction (0.5 * RSE^2, where RSE is the Residual Standard Error).

Value

A list with these elements:

See Also

BIOMASS::modelHD().

Examples

1
2
3
4
5
6
7
8
9
data <- fgeo.biomass::scbi_tree1[1:30, ]

str(model_height(data))

out <- model_height(data, method = "log2")
# Avoid too much output
str(out[-2])
# Glimpse what wasn't shown above
lapply(out[2], names)

forestgeo/fgeo.biomass documentation built on June 8, 2019, 10:47 p.m.