fit_rac | R Documentation |
Fit a well-known distribution to a species distribution.
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
)
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 |
abundances can be used to fit rank-abundance curves (RAC) of classical distributions:
"lnorm" for log-normal \insertCitePreston1948divent.
"lseries" for log-series \insertCiteFisher1943divent.
"geom" for geometric \insertCiteMotomura1932divent.
"bstick" for broken stick \insertCiteMacArthur1957divent. It has no parameter, so the maximum abundance is returned.
A tibble with the sites and the estimated distribution parameters.
fit_rac(paracou_6_abd, distribution = "lnorm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.