plot_membership: Dominant-factor posterior-probability heatmap

View source: R/plots.R

plot_membershipR Documentation

Dominant-factor posterior-probability heatmap

Description

Tiled heatmap of ⁠P(argmax_k |Lambda[i, k]| = k)⁠ with one row per participant, one column per factor, rendered on a sequential blue ramp. A right-side tier strip encodes Strong / Moderate / Weak membership (per classify_membership()). A horizontal colourbar under the plot gives the probability scale. Rows are sorted by dominant factor first, then tier, then probability – so the block structure a reader wants to see is preserved.

Usage

plot_membership(fit, sort = TRUE, ...)

Arguments

fit

A bayesqm_fit.

sort

Logical; apply the default ordering.

...

Additional arguments forwarded to image().

Value

The input, invisibly.


bayesqm documentation built on June 18, 2026, 1:07 a.m.