vb: Make an instance of class "VB"

Description Usage Arguments Value See Also Examples

View source: R/AllClass.R

Description

This function creates a variable block structure.

Usage

1
vb(nb, dim, bdim = NULL, numst, varorder = NULL)

Arguments

nb

The number of variable blocks.

dim

Dimensionality of the data.

bdim

An integer vector specifying dimensionality of each variable block. This argument can be omitted if the variable block structure has a single block (case of GMM).

numst

An integer vector specifying the number of mixture models in each variable block.

varorder

A list of integer vectors specifying the variable order in each variable block. This argument can be omitted if variable structure has a single variable block (GMM).

Value

An object of class "VB".

See Also

VB

Examples

1
2
3
4
5
# variable block structure for GMM with 3 dimensions and 2 mixture states
Vb <- vb(1, dim=3, numst=2)

# variable block structure with 2 variable blocks
Vb <- vb(2, dim=10, bdim=c(4,6), numst=c(3,11), varorder=list(c(1:4),c(5:10)))

HDclust documentation built on May 2, 2019, 9:20 a.m.