Description Usage Arguments Details Value Author(s) References Examples
Calculates the corrected (for small sample size) Akaike Information Criterion
for lm
and nls
objects.
1 | AICc(x)
|
x |
An |
See eq. (4.8) in Morris and Doak (2002).
The corrected AIC of the model.
Bruce E. Kendall (kendall@bren.ucsb.edu)
Morris, W. F. and Doak D. F. (2002) Quantitative Conservation Biology: Theory and Practice of Population Viability Analysis. Sunderland: Sinauer Associates.
1 2 3 4 5 6 7 8 | ## Load the Jasper Ridge checkerspot butterfly data
data(checkerspot)
rt <- diff(log(checkerspot$N))
Nt <- checkerspot$N[-dim(checkerspot)[1]]
## Fit a Ricker model and extract the corrected AIC
ricker.nls <- nls(rt ~ mu*(1-Nt/K), start=list(mu=1,K=500))
AICc(ricker.nls)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.