Learn R Programming

edina (version 0.1.1)

best_model: Extract the Best Model

Description

Extracts the best model from the auto_*() search procedure.

Usage

best_model(x, ...)

# S3 method for auto_edina best_model(x, ic = c("ppp", "bic", "dic"), ...)

Arguments

x

An auto_edina object

...

Not used.

ic

Information criterion name. Default "ppp".

Value

An edina model object corresponding to the smallest value of requested information criterion.

See Also

DIC.edina(), BIC.edina(), PPP.edina()