plot.corr_matrix: S3 Plot for Dense Correlation Results

View source: R/corr_result_s3.R

plot.corr_matrixR Documentation

S3 Plot for Dense Correlation Results

Description

S3 Plot for Dense Correlation Results

Usage

## S3 method for class 'corr_matrix'
plot(
  x,
  title = NULL,
  low_color = "indianred1",
  high_color = "steelblue1",
  mid_color = "white",
  value_text_size = 4,
  ci_text_size = 3,
  show_value = TRUE,
  ...
)

Arguments

x

A dense correlation result (corr_matrix).

title

Optional plot title.

low_color

Fill color for -1.

high_color

Fill color for +1.

mid_color

Fill color for 0.

value_text_size

Text size for optional overlaid values.

ci_text_size

Text size for optional confidence-interval labels.

show_value

Logical; overlay values if TRUE.

...

Additional theme arguments.

Value

A ggplot heatmap.


matrixCorr documentation built on April 18, 2026, 5:06 p.m.