Learn R Programming

FWDselect (version 2.1.0)

print.qselection: Short qselection summary

Description

qselection summary

Usage

"print"(x = object, ...)

Arguments

x
qselection object.
...
Other options.

Value

The function returns a summary table with the subsets of size $q$, their information criterion values and the chosen variables for each one. Additionally, an asterisk is shown next to the size of subset which minimizes the information criterion.

See Also

selection.

Examples

Run this code
library(FWDselect)
data(diabetes)
x = diabetes[ ,2:11]
y = diabetes[ ,1]
obj2 = qselection(x, y, qvector = c(1:9), method = "lm", criterion = "variance", cluster = FALSE)
obj2

Run the code above in your browser using DataLab