ggCor: Display correlation/covariance matrix

View source: R/ggCor.R

ggCorR Documentation

Display correlation/covariance matrix

Description

Display correlation/covariance matrix

Usage

ggCor(data, type = "correlation", legend_title = NULL, plot = TRUE, ...)

Arguments

data

a matrix containing in each columns the observations for each variable.

type

should the raw values, correlation or covariance be displayed?

legend_title

argument to be passed to ggHeatmap.

plot

should the graphic be plotted?

...

additionnal parameters to be passed to ggHeatmap.

Examples


n <- 100
X <- cbind(X1=rnorm(n),X2=rnorm(n),X3=rnorm(n))

ggCor(X)

bozenne/butils documentation built on Oct. 14, 2023, 6:19 a.m.