Learn R Programming

VBmix (version 0.3.2)

subGmm:

Description

select a subset of components and dimensions from an input GMM.

Usage

subGmm(model, dims = c(1, 2), inds = NULL)

Arguments

model
GMM from which to extract subsets.
dims
numeric vector of the extracted dimensions.
inds
numeric vector of selected components indices. If NULL, all components are selected.

Value

subset of input GMM.

See Also

newGmm

Examples

Run this code
temp <- subGmm(gmmpen[[1]], inds=1:3)

Run the code above in your browser using DataLab