Learn R Programming

FWDselect (version 1.1)

print.qselection: Short qselection summary

Description

qselection summary

Usage

## S3 method for class 'qselection':
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.

See Also

qselection

Examples

Run this code
library(FWDselect)
data(pollution)
x=pollution[,-19]
y=pollution[,19]
obj2=qselection(x,y,qvector=c(1:4),method="lm",
criterion="R2")
obj2

Run the code above in your browser using DataLab