print.enpls.fs | R Documentation |
Print enpls.fs object.
## S3 method for class 'enpls.fs'
print(x, sort = TRUE, nvar = NULL, ...)
x |
An object of class |
sort |
Should the variables be sorted in decreasing order of importance? |
nvar |
Number of top variables to show. Ignored if |
... |
Additional parameters for |
Nan Xiao <https://nanx.me>
See enpls.fs
for measuring feature importance with
ensemble partial least squares regressions.
data("alkanes")
x <- alkanes$x
y <- alkanes$y
set.seed(42)
fs <- enpls.fs(x, y, reptimes = 100)
print(fs)
print(fs, nvar = 10L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.