fit_taylor: Fit Taylor's power law

Description Usage Arguments Value References Examples

View source: R/fit_taylor.r

Description

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.

Usage

1
fit_taylor(x, ci = FALSE, na.rm = FALSE)

Arguments

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 NA values should be row-wise deleted.

Value

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.

References

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.

Examples

1
2

seananderson/ecofolio documentation built on May 29, 2019, 4:25 p.m.