Assess the AIC for all models in a list of models

Description

Assess the AIC for all models in a list of models

Usage

1
2
## S3 method for class 'list'
AIC(object, ..., assess.best = TRUE)

Arguments

object

the list of models

assess.best

determine which model is the best (by lowest AIC)

...

parameters passed to the underlying AIC function (typically the parameter k)

Value

a data frame with row names matching the names of the list x and columns for degrees of freedom (df) and AIC. If assess.best is true, then there will be another column isBest.

See Also

get.best.model

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.