correlationplot: Function correlationplot

correlationplotR Documentation

Function correlationplot

Description

Plots correlations based on a data.frame.

Usage

correlationplot(x = NULL, stars = T, numbers = T, cex = 0.6,
  show.legend = F, ...)

Arguments

x

Numeric data.frame or matrix containing the vectors whose correlations should be displayed.

stars

Logical value indicating whether significant results should be marked with stars. Defaults to T.

numbers

Logical value indicating whether correlations should be plotted numerically. Defaults to T.

cex

Numerical value specifying the relative size of texts to be displayed. Defaults to .6.

show.legend

Logical value indicating whether a legend shoud be displayed. Defaults to F.

...

Additional arguments to be passed to psych::cor.plot.

Details

Plots correlations based on a data.frame.

Examples

set.seed(0);correlationPlot(data.frame(x=rnorm(100),y=rnorm(100),z=rnorm(100)))

AndreasFischer1985/quantqual documentation built on June 20, 2022, 4:55 p.m.