Skip to content

Retrieves posterior summaries from a model fitted with bgm() using the Stochastic Block prior on edge inclusion.

Usage

extract_sbm(bgms_object)

Arguments

bgms_object

A fitted model object of class bgms (from bgm()).

Value

A list with elements posterior_num_blocks, posterior_mean_allocations, posterior_mode_allocations, and posterior_mean_coclustering_matrix. Requires edge_selection = TRUE and edge_prior = "Stochastic-Block".