print.enpls.fs: Print enpls.fs Object

Description Usage Arguments Details Author(s) See Also Examples

View source: R/print.R

Description

This function prints enpls.fs object.

Usage

1
2
## S3 method for class 'enpls.fs'
print(x, sort = TRUE, nvar = NULL, ...)

Arguments

x

An object of class enpls.fs.

sort

Should the variables be sorted in decreasing order of importance?

nvar

How many variables to show? Ignored if sort = FALSE.

...

Other parameters to be passed on to print.

Details

This function prints enpls.fs object.

Author(s)

Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <road2stat@gmail.com>

See Also

See enpls.fs for feature selection with ensemble PLS.

Examples

1
2
3
4
5
6
7
8
data(alkanes)
x = alkanes$x
y = alkanes$y

set.seed(42)
varimp = enpls.fs(x, y, MCtimes = 100)
print(varimp)
print(varimp, nvar = 10L)

wind22zhu/enpls1.2 documentation built on May 4, 2019, 6:31 a.m.