summary.NormalBlockBase: Summarize a Normal-Block Model

View source: R/NormalBlockBase-S3methods.R

summary.NormalBlockBaseR Documentation

Summarize a Normal-Block Model

Description

Summarizes a fitted normal-block model: model type, goodness-of-fit criteria, cluster sizes, and the density of the inferred network between blocks.

Usage

## S3 method for class 'NormalBlockBase'
summary(object, ...)

Arguments

object

An object of class NormalBlockBase.

...

not used, only here for S3 compatibility

Value

An object of class summary.NormalBlockBase (a list with the model's who_am_I, criteria, cluster_sizes and network density), printed with a dedicated print.summary.NormalBlockBase() method.

Examples

ex_data <- generate_normal_block_var_data(n = 50, p = 20, d = 1, q = 3)
data <- NormalBlockData$new(ex_data$Y, ex_data$X)
model <- normal_block(data, blocks = 3, control = NB_control(verbose = FALSE))
summary(model)

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