aic | R Documentation |
Calculate AIC (Akaike Information Criterion).
aic(loglik, k)
loglik |
A numeric, the log-likelihood. |
k |
An integer >= 0, the number of selected variables. |
A number, a value of AIC.
aic(10, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.