View source: R/vbSearchControl.R
vbSearchControl | R Documentation |
This function creates a list with parameters for the search of a variable
block structure used as an argument for hmmvbTrain
.
vbSearchControl(
perm = NULL,
numstPerDim = NULL,
dim = NULL,
maxDim = 10,
minDim = 1,
nperm = 1,
relax = FALSE
)
perm |
A list of integer vectors specifying variable permutations. If
provided, the argument |
numstPerDim |
An integer vector of length |
dim |
Data dimensionality. Must be provided with |
maxDim |
Maximum variable block dimension. |
minDim |
Minimum variable block dimension. Should be an integer equal to 1 or 2. |
nperm |
The number of variable permutations. This parameter is ignored
if permutations are provided in |
relax |
A logical value indicating whether or not variable block structure search will be performed under less restricting conditions. |
The named list with parameters.
hmmvbTrain
# setting up permutations
perm <- list(c(1,2,3), c(1,3,2), c(3,2,1))
searchControl <- vbSearchControl(perm=perm, dim=3)
# setting up a map between block dimensionality and number of states
searchControl <- vbSearchControl(maxDim=5, numstPerDim=c(3,4,5,6,7))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.