plot.mfrm_facet_sample_review: Plot a facet sample-size review

View source: R/api-hierarchical-audit.R

plot.mfrm_facet_sample_reviewR Documentation

Plot a facet sample-size review

Description

Per-level observation counts rendered as a horizontal bar chart coloured by the Linacre sample-size band assigned in facet_small_sample_review(). Vertical dashed lines mark the sparse / marginal / standard thresholds so reviewers see where every facet level sits relative to the Linacre (1994) guidance.

Usage

## S3 method for class 'mfrm_facet_sample_review'
plot(
  x,
  top_n = NULL,
  preset = c("standard", "publication", "compact", "monochrome"),
  ...
)

Arguments

x

An mfrm_facet_sample_review object.

top_n

Optional integer; trim the y-axis to the top_n smallest level counts per facet. NULL (default) keeps all.

preset

One of "standard", "publication", "compact", "monochrome".

...

Reserved.

Value

Invisibly, the data.frame used for the plot.

See Also

facet_small_sample_review().


mfrmr documentation built on June 13, 2026, 1:07 a.m.