predict.mixGGM: Cluster prediction by Mixture of Gaussian Graphical Models

Description Usage Arguments Value See Also

View source: R/mixGGM.R

Description

Cluster prediction for multivariate observations based on Mixture of Gaussian Graphical Models estimated by mixGGM.

Usage

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

Arguments

object

An object of class 'mixGGM' resulting from a call to mixGGM.

newdata

A data frame or matrix giving the data. If missing the clustering data obtained from the call to mixGGM are classified.

...

Further arguments passed to or from other methods.

Value

Returns a list of with the following components:

classification

a factor of predicted cluster labels for newdata.

z

a matrix whose [i,k]th entry is the probability that observation i in newdata belongs to the kth cluster.

See Also

mixGGM.


michaelfop/mixggm documentation built on July 26, 2019, 8:57 p.m.