Retrieves posterior summaries from a model fitted with the Stochastic
Block prior. Works on both bgms fits (where SBM governs edge inclusion)
and bgmCompare fits (where SBM governs the off-diagonal pairwise
difference inclusions).
Arguments
- bgms_object
A fitted model object of class
bgms(frombgm()) orbgmCompare(frombgmCompare()).
Value
A list with elements posterior_num_blocks,
posterior_mean_allocations, posterior_mode_allocations, and
posterior_mean_coclustering_matrix. For bgms, requires
edge_selection = TRUE and edge_prior = sbm_prior(...). For
bgmCompare, requires difference_selection = TRUE and
difference_prior = sbm_prior(...).
See also
bgm(), bgmCompare(), extract_indicators(),
extract_posterior_inclusion_probabilities()
Other extractors:
extract_arguments(),
extract_category_thresholds(),
extract_ess(),
extract_group_params(),
extract_indicator_priors(),
extract_indicators(),
extract_log_odds(),
extract_main_effects(),
extract_pairwise_interactions(),
extract_partial_correlations(),
extract_posterior_inclusion_probabilities(),
extract_precision(),
extract_rhat()