log_correction_factor: Correction factor to remove bias from log-transformation

Description Usage Arguments

View source: R/allometries.R

Description

Cite: Sprugel 1983 (Ecology).

Usage

1
log_correction_factor(log_y, log_y_pred, n_pars, base = exp(1))

Arguments

log_y

Log-transformed observed y-values

log_y_pred

Log-transformed fitted y-values

n_pars

Number of parameters in regression (used to calculate degrees of freedom)

base

Base of the log transformation. Default to natural logarithm.


qdread/forestscaling documentation built on Dec. 15, 2021, 12:42 a.m.