Skip to contents

Compare the full matrix with its thresholded network, then inspect the clustering tree when requested. Network positions are a deterministic circle: distance on the page is not a statistical distance. Positive edges are solid red and negative edges dashed blue; thickness represents |r|. Gray matrix cells denote unavailable correlations. Node colors do not encode quality. Dendrogram labels append the chosen group number in square brackets; these numbers are labels, not ranks. Titles and cautions are retained in plot_data(), not printed into the figure.

Usage

# S3 method for class 'mfrm_residual_network'
plot(
  x,
  type = c("network", "matrix", "dendrogram"),
  preset = c("standard", "publication", "compact", "monochrome"),
  draw = TRUE,
  ...
)

Arguments

x

A result from mfrm_residual_network().

type

"network", "matrix" or "dendrogram".

preset

Visual preset; see mfrmr_visual_diagnostics.

draw

Whether to draw with base graphics.

...

Reserved; unused arguments are rejected.

Value

Invisibly, an mfrm_plot_data containing the selected view, saved matrix, nodes, pairs, edges, clustering, settings and interpretation notes. Plotting does not recompute residuals or clustering. Save the analysis object to redraw every view. The matrix supports as_ggplot().