R/subspace_MSM.R
predict.MSM.RdGiven an instance of MSM class from MSM function, predict
class label of a new data.
# S3 method for MSM predict(object, newdata, ...)
| object | an |
|---|---|
| newdata | an \((m\times p)\) matrix of row-stacked observations. |
| ... | extra parameters (not necessary). |
a length-\(m\) vector of class labels.