Description Usage Arguments Value References Examples
Fits Taylor's power law to the temporal mean and variance in
log-log space and returns the coefficients. The model is fit as
log(sigma^2_i) = c + z * log(mu_i) + e_i
, where c
represents a constant, z
represents the parameter of
interest (Taylor's power law exponent), i
represents a
subpopulation, and e_i
represents independent and
distributed residual error with mean zero and an estimated
variance.
1 | fit_taylor(x, ci = FALSE, na.rm = FALSE)
|
x |
A matrix or dataframe of abundance or biomass data. The columns should represent different subpopulations or species. The rows should represent the values through time. |
ci |
A Logical value indicating whether 95% confidence intervals should be calculated for the z value (the exponent in Taylor's power law). |
na.rm |
A logical value indicating whether |
A list containing the constant c
value and the exponent
z
in Taylor's power law equation. If confidence intervals
were requested then the list will also contain ci
with the
95% confidence intervals on the z value.
Taylor, L. 1961. Aggregation, Variance and the Mean. Nature 189:732-735. doi: 10.1038/189732a0.
Taylor, L., I. Woiwod, and J. Perry. 1978. The Density-Dependence of Spatial Behaviour and the Rarity of Randomness. J. Anim. Ecol. 47:383-406.
Taylor, L., and I. Woiwod. 1982. Comparative Synoptic Dynamics. I. Relationships Between Inter- and Intra-Specific Spatial and Temporal Variance/Mean Population Parameters. J. Anim. Ecol. 51:879-906.
1 2 | data(pinkbr)
fit_taylor(pinkbr[,-1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.