Skip to contents

Plot an anchor-audit object

Usage

# S3 method for class 'mfrm_anchor_audit'
plot(
  x,
  y = NULL,
  type = c("issue_counts", "facet_constraints", "level_observations"),
  main = NULL,
  palette = NULL,
  label_angle = 45,
  draw = TRUE,
  ...
)

Arguments

x

Output from audit_mfrm_anchors().

y

Reserved for generic compatibility.

type

Plot type: "issue_counts", "facet_constraints", or "level_observations".

main

Optional title override.

palette

Optional named colors.

label_angle

X-axis label angle for bar plots.

draw

If TRUE, draw using base graphics.

...

Reserved for generic compatibility.

Value

A plotting-data object of class mfrm_plot_data.

Details

Base-R visualization helper for anchor audit outputs.

Interpreting output

  • "issue_counts": volume of each issue class.

  • "facet_constraints": anchored/grouped/free mix by facet.

  • "level_observations": observation support across levels.

Typical workflow

  1. Run audit_mfrm_anchors().

  2. Start with plot(aud, type = "issue_counts").

  3. Inspect constraint and support plots before fitting.

Examples

toy <- load_mfrmr_data("example_core")
aud <- audit_mfrm_anchors(toy, "Person", c("Rater", "Criterion"), "Score")
p <- plot(aud, draw = FALSE)