aic | R Documentation |
Calculate the AIC for a model.
aic(loglik, k)
loglik |
log-likelihood |
k |
number of paramters |
AIC
gmm<-mixtools::normalmixEM(runif(1000)) aic(gmm$loglik,3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.