Learn R Programming

spls (version 1.0-0)

print.spls: Print fits of a SPLS object

Description

Print out SPLS fits, the number and the list of selected predictors.

Usage

## S3 method for class 'spls':
print( x, ... )

Arguments

x
A fitted SPLS object.
...
Additonal arguments for generic print.

Value

  • NULL.

References

Chun, H. and Keles, S. (2007). "Sparse partial least squares for simultaneous dimension reduction and variable selection" (http://www.stat.wisc.edu/~keles/Papers/SPLS_Nov07.pdf).

See Also

plot, predict, and coef methods for spls.

Examples

Run this code
data(yeast)
# SPLS with eta=0.7 & 8 hidden components
f <- spls( yeast$x, yeast$y, K=8, eta=0.7 )
print(f)

Run the code above in your browser using DataLab