This package implements Bozdogan's Information Complexity (ICOMP) criterion. Currently only linear models are supported.
### Modified from the example in ?AIC
lm1 <- lm(Fertility ~ . , data = swiss)
lm2 <- update(lm1, . ~ . -Examination)
icomp::ICOMP(lm1, lm2)
## ICOMP.lm
## lm1 353.4176
## lm2 348.6639
Using the devtools package:
devtools::install_github("wrathematics/icomp")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.