Description Usage Arguments Value Examples
View source: R/optionclasses.R
This function proposed a partition of the variables for the Gibbs chain initialization. The partition is done by a CAH algorithm based on the Cramer's V distance matrix between the couples of variables. The partition with at the maximum four variables in the same block which minimizes the number of blocks is return by this function.
1 |
data |
Input data as matrix of non-zero integers. |
Return an vector of the variables partition.
1 2 3 | # Simple example with binary data
data("dentist")
partitioncat(dentist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.