| compareModels | R Documentation |
Fit all (or a subset of) asymptotic species-area models and compare them using AIC, BIC, delta-AIC, and Akaike weights.
compareModels(
object,
models = c("michaelis-menten", "lomolino", "asymptotic", "weibull", "logistic", "evt"),
...
)
object |
A |
models |
Character vector of models to fit. Defaults to all six:
|
... |
Additional arguments passed to |
An object of class spacc_model_compare containing:
table |
Data frame with model comparison statistics |
fits |
Named list of |
best_model |
Name of the best model by AIC |
data |
Mean-curve data frame used for fitting |
spacc |
Original spacc object |
coords <- data.frame(x = runif(50), y = runif(50))
species <- matrix(rbinom(50 * 30, 1, 0.3), nrow = 50)
sac <- spacc(species, coords)
cm <- compareModels(sac)
print(cm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.