Learn R Programming

pdmclass (version 1.44.0)

svdr: Classify Microarray Data by Principal Components Regression

Description

This function is used by pdmClass and pdmGenes to classify microarray data by principal components regression. It is an internal function and not intended to be called by the end user.

Usage

svdr(X, y, dimension)

Arguments

X
A numeric matrix assumed to be centred so columns sum to zero.
y
A numeric vector assumed to sum to zero.
dimension
The number of PLS factors in the model, which must be less than or equal to the rank of X.

Value

An object of class svd, containing the following items:
fitted.values
The fitted values.
coefficients
The model coefficients.
dimension
The number of PLS factors in the model.
xmeans
The sample means.

References

http://www.sph.umich.edu/~ghoshd/COMPBIO/POPTSCORE