vb | R Documentation |
This function creates a variable block structure.
vb(nb, dim, bdim = NULL, numst, varorder = NULL)
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). |
An object of class "VB".
VB
# 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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.