| NormalBlockMeanCollectionClusters | R Documentation |
R6 class for a collection of mean-block models (NormalBlockMeanBase) with different numbers of clusters (q). As for NormalBlockVarCollectionClusters, the q-independent part of the initial clustering heuristic is computed once for the whole collection.
NormalBlockCollection -> NormalBlockCollectionClusters -> NormalBlockMeanCollectionClusters
NormalBlockCollection$summary()NormalBlockCollectionClusters$get_best_model()NormalBlockCollectionClusters$get_model()NormalBlockCollectionClusters$initialize()NormalBlockCollectionClusters$optimize()NormalBlockCollectionClusters$plot()NormalBlockCollectionClusters$print()NormalBlockCollectionClusters$refine()NormalBlockMeanCollectionClusters$clone()The objects of this class are cloneable with this method.
NormalBlockMeanCollectionClusters$clone(deep = FALSE)
deepWhether to make a deep clone.
ex <- generate_normal_block_mean_data(n = 50, p = 20, d = 1, q = 3)
data <- NormalBlockData$new(ex$Y, ex$X)
models <- normal_block(data, blocks = 2:5, model = "mean")
plot(models, criteria = c("BIC", "ICL"))
models$get_best_model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.