Project new observations onto previously fitted PLS–Cox components.
Arguments
- X
New data: a numeric matrix or a
bigmemory::big.matrix.- means
Column means used to center the original predictors.
- sds
Column standard deviations used to scale the original predictors.
- weights
PLS weight matrix (p x ncomp) from a fitted model.
- loadings
PLS loading matrix (p x ncomp) from a fitted model.
- comps
Integer vector of component indices to return (1-based).