spls (version 2.2-3)

print.sgpls: Print function for a SGPLS object

Description

Print out SGPLS fit, the number and the list of selected predictors.

Usage

# S3 method for sgpls
print( x, ... )

Arguments

x

A fitted SGPLS object.

...

Additonal arguments for generic print.

Value

NULL.

References

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.

See Also

predict.sgpls and coef.sgpls.

Examples

Run this code
# NOT RUN {
data(prostate)
# SGPLS with eta=0.55 & 3 hidden components
f <- sgpls( prostate$x, prostate$y, K=3, eta=0.55, scale.x=FALSE )
print(f)
# }

Run the code above in your browser using DataLab