predict.MSM: S3 method to predict class label of new data with 'MSM'...

Description Usage Arguments Value

View source: R/subspace_MSM.R

Description

Given an instance of MSM class from MSM function, predict class label of a new data.

Usage

1
2
## S3 method for class 'MSM'
predict(object, newdata, ...)

Arguments

object

an 'MSM' object from MSM function.

newdata

an (m\times p) matrix of row-stacked observations.

...

extra parameters (not necessary).

Value

a length-m vector of class labels.


kyoustat/T4cluster documentation built on Sept. 27, 2021, 11:10 a.m.