print.sgpls {spls}R Documentation

Print function for a SGPLS object

Description

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

Usage

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

Arguments

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

Value

NULL.

Author(s)

Dongjun Chung and Sunduz Keles.

References

Chung, D. and Keles, S. (2009). "Sparse partial least squares classification for high dimensional data" (http://www.stat.wisc.edu/~keles/Papers/C_SPLS.pdf).

See Also

predict.sgpls and coef.sgpls.

Examples

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)

[Package spls version 2.1-0 Index]