amod | R Documentation |
Allometric models and parameters are used to scale organic growth.
amod(x, mp = c(1, 1),
fun = y ~ a * (x^b))
x |
|
mp |
|
fun |
|
. Allometric models are useful to
scale size-components of organisms such as
tree diameters (mp
= c(2,1)
) and
basal areas (mp
= c(0.25 *
pi,2)
). Several parameter groups
(c(a1,b1,a2,b2, ..., an,bn)
) can be
recursively processed. This enables
computation of complex organic
variables. For example, above-ground tree
biomass could be computed from two
parameter groups for tree-biomass, and
over-bark diameter scaling.
data.frame
of the scaled variable (x
) and relative
increments (csx). These are computed with setdiff
function.
Wilson Lara <wilarhen@gmail.com> [aut, cre] (<https://orcid.org/0000-0003-3527-1380>), Felipe Bravo <fbravo@pvs.uva.es> [aut] (<https://orcid.org/0000-0001-7348-6695>)
## Simulating TRW records:
set.seed(1)
trw <- ts(abs(rnorm(12,1,1)),start = 1950)
## Cumulative TRW:
cri <- cumsum(trw)
## tree diameters
td <- amod(cri,mp = c(2,1))
## plot of the tree diameters and the
## relative increments:
plot(ts(td))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.