print.selection: Short 'selection' summary

Description Usage Arguments Value Author(s) See Also Examples

Description

selection summary

Usage

1
2
## S3 method for class 'selection'
print(x = model, ...)

Arguments

x

selection object.

...

Other options.

Value

The function returns the best subset of size q and its information criterion value. In the case of seconds=TRUE this information is returned for each alternative model.

Author(s)

Marta Sestelo, Nora M. Villanueva and Javier Roca-Pardinas.

See Also

selection.

Examples

1
2
3
4
5
6
library(FWDselect)
data(diabetes)
x = diabetes[ ,2:11]
y = diabetes[ ,1]
obj1 = selection(x, y, q = 1, method = "lm", criterion = "variance", cluster = FALSE)
obj1

FWDselect documentation built on May 2, 2019, 1:21 p.m.