autoplot.correlate: Graphical Display For Correlation Matrix

View source: R/autoplot.R

autoplot.correlateR Documentation

Graphical Display For Correlation Matrix

Description

Graphical representation for correlation matrix

Usage

## S3 method for class 'correlate'
autoplot(
  object,
  index,
  size.text = 16,
  name.legend = "Correlation",
  title = NULL,
  scale = ggplot2::scale_fill_gradient2,
  type.cor = "both",
  low = "blue",
  high = "red",
  mid = "white",
  midpoint = mean(limits),
  limits = c(-1, 1),
  ...
)

## S3 method for class 'correlate'
plot(x, ...)

Arguments

object

[correlate] list of list of correlation matrix

index

[character vector] optional vector used to select some of the correlation matrix.

size.text

[numeric, >0] size of the font used to display text.

name.legend

[character] title for the color scale.

title

[character] title for the graph.

scale

[function] color scale used for the correlation.

type.cor

[character] should the whole correlation matrix be displayed ("both"), or only the element in the lower or upper triangle ("lower", "upper").

low

[character] color used to represent low correlation.

high

[character] color used to represent high correlation.

mid

[character] color used to represent moderate correlation.

midpoint

[numeric] value defining a modereate correlation.

limits

[numeric vector of length 2] values defining a low and high correlation.

Functions

  • plot(correlate): Graphical Display For Correlation Matrix


bozenne/repeated documentation built on July 16, 2025, 11:16 p.m.