print.spls | R Documentation |
Print out SPLS fit, the number and the list of selected predictors.
## S3 method for class 'spls'
print( x, ... )
x |
A fitted SPLS object. |
... |
Additonal arguments for generic |
NULL.
Dongjun Chung, Hyonho Chun, and Sunduz Keles.
Chun H and Keles S (2010), "Sparse partial least squares for simultaneous dimension reduction and variable selection," Journal of the Royal Statistical Society - Series B, Vol. 72, pp. 3–25.
plot.spls
, predict.spls
,
and coef.spls
.
data(yeast)
# SPLS with eta=0.7 & 8 hidden components
f <- spls( yeast$x, yeast$y, K=8, eta=0.7 )
print(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.