Learn R Programming

enpls (version 5.6)

print.enpls.fs: Print enpls.fs Object

Description

Print enpls.fs object.

Usage

"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
Number of top variables to show. Ignored if sort = FALSE.
...
Additional parameters for print.

See Also

See enpls.fs for measuring feature importance with ensemble partial least squares regressions.

Examples

Run this code
data("alkanes")
x = alkanes$x
y = alkanes$y

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

Run the code above in your browser using DataLab