Arguments
object
An dimension reduction regression object
x
a matrix to be centered and scaled OR a dimension reduction object
from which the model matrix will be extracted
weights
a vector of weights, or NULL if unweighted
center
if TRUE, center the output
rotate
if TRUE, multiply by the inverse square root of the sample
covariance matrix.
decomp
Decomposition to be used in computing the rotation; the
default is "svd".