NormalBlockVarCollectionClusters: Collection of Normal-Block-Var Models over a Range of Cluster...

NormalBlockVarCollectionClustersR Documentation

Collection of Normal-Block-Var Models over a Range of Cluster Counts

Description

R6 class for a collection of normal-block models with different number of clusters (q) and a fixed sparsity level. The q-independent part of the initial clustering heuristic is computed once for the whole collection.

Super classes

NormalBlockCollection -> NormalBlockCollectionClusters -> NormalBlockVarCollectionClusters

Methods

Public methods

Inherited methods

NormalBlockVarCollectionClusters$clone()

The objects of this class are cloneable with this method.

Usage
NormalBlockVarCollectionClusters$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

ex <- generate_normal_block_var_data(n = 50, p = 20, d = 1, q = 3)
data <- NormalBlockData$new(ex$Y, ex$X)
models <- normal_block(data, blocks = 2:4, control = NB_control(verbose = FALSE))
models$get_best_model("ICL")$q

normalblockr documentation built on Nov. 24, 2026, 1:06 a.m.