print.splsda | R Documentation |
Print out SPLSDA fits, the number and the list of selected predictors.
## S3 method for class 'splsda'
print( x, ... )
x |
A fitted SPLSDA object. |
... |
Additonal arguments for generic |
NULL.
Dongjun Chung and Sunduz Keles.
Chung D and Keles S (2010), "Sparse partial least squares classification for high dimensional data", Statistical Applications in Genetics and Molecular Biology, Vol. 9, Article 17.
predict.splsda
and coef.splsda
.
data(prostate)
# SPLSDA with eta=0.8 & 3 hidden components
f <- splsda( prostate$x, prostate$y, K=3, eta=0.8, scale.x=FALSE )
print(f)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.