plotcorr.col: Plot Correlation

View source: R/plotcorr.col.R

plotcorr.colR Documentation

Plot Correlation

Description

Plot correlation matrix as colored ellipses.

Usage

plotcorr.col(corr, pow = 4, type = "lower", order.fun = NULL,
  col = "col", ...)

Arguments

corr

a correlation matrix.

pow

a power coefficient to choose colors for weak and strong correlations.

type

which part of the matrix should be plotted: "full", "lower", or "upper".

order.fun

a function to reorder variables w.r.t. absolute correlations: e.g. mean, median, or max.

col

either "bw", "col", or a vector/matrix of colors.

...

passed to plotcorr.

Value

Invisible correlation matrix, reordered if order.fun was used.

Note

Thin wrapper to pass colors to plotcorr.


arni-magnusson/arni documentation built on Nov. 3, 2023, 7:35 p.m.