fit_rac {divent} | R Documentation |
Fit a distribution
Description
Fit a well-known distribution to a species distribution.
Usage
fit_rac(x, ...)
## S3 method for class 'numeric'
fit_rac(
x,
distribution = c("lnorm", "lseries", "geom", "bstick"),
...,
check_arguments = TRUE
)
## S3 method for class 'species_distribution'
fit_rac(
x,
distribution = c("lnorm", "lseries", "geom", "bstick"),
...,
check_arguments = TRUE
)
Arguments
x |
An object |
... |
Unused. |
distribution |
The distribution of species abundances. May be "lnorm" (log-normal), "lseries" (log-series), "geom" (geometric) or "bstick" (broken stick). |
check_arguments |
If |
Details
abundances can be used to fit rank-abundance curves (RAC) of classical distributions:
"lnorm" for log-normal (Preston 1948).
"lseries" for log-series (Fisher et al. 1943).
"geom" for geometric (Motomura 1932).
"bstick" for broken stick (MacArthur 1957). It has no parameter, so the maximum abundance is returned.
Value
A tibble with the sites and the estimated distribution parameters.
References
Fisher RA, Corbet AS, Williams CB (1943).
“The Relation between the Number of Species and the Number of Individuals in a Random Sample of an Animal Population.”
Journal of Animal Ecology, 12, 42–58.
doi:10.2307/1411.
MacArthur RH (1957).
“On the Relative Abundance of Bird Species.”
Proceedings of the National Academy of Sciences of the United States of America, 43(3), 293–295.
doi:10.1073/pnas.43.3.293, 89566.
Motomura I (1932).
“On the statistical treatment of communities.”
Zoological Magazine, 44, 379–383.
Preston FW (1948).
“The Commonness, and Rarity, of Species.”
Ecology, 29(3), 254–283.
doi:10.2307/1930989.
Examples
fit_rac(paracou_6_abd, distribution = "lnorm")