extractSimpleModel: extractSimpleModel

Description Usage Arguments Value Author(s) See Also Examples

View source: R/interfaces.R

Description

extracts a GMM from a posterior variational distribution. Only relevant components (i.e. associated to a significant population) are extracted.

Usage

1
extractSimpleModel(model = model, labels = FALSE)

Arguments

model

variational posterior.

labels

boolean indicating wether to extract a label vector. If TRUE, model, a list object, should also contain a data attribute, used to build label vector.

Value

GMM object.

Author(s)

Pierrick Bruneau

See Also

varbayes subVarbayes

Examples

1
2
temp <- varbayes(irisdata, 20)
temp2 <- extractSimpleModel(temp)

VBmix documentation built on May 30, 2017, 2:34 a.m.

Search within the VBmix package
Search all R packages, documentation and source code