vb: Make an instance of class "VB"

View source: R/AllClass.R

vbR Documentation

Make an instance of class "VB"

Description

This function creates a variable block structure.

Usage

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

# 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 Sept. 20, 2024, 5:09 p.m.