ggcorplot: Using ggplot2 to plot matrix of correlations

View source: R/ggcorplot.R

ggcorplotR Documentation

Using ggplot2 to plot matrix of correlations

Description

Lightly modified from a post by Mike Lawrence.

Usage

ggcorplot(data, var_text_size = 5)

Arguments

data

Data frame or matrix to be plotted.

var_text_size

Variable text size.

Details

ggcorplot takes a data frame or matrix, strips numeric variables, and makes a "splom" style correlation plot, with significance values. Useful for exploratory data analysis.

See Also

qplot

Examples

## using iris data
ggcorplot(iris)


langcog/langcog-package documentation built on March 28, 2024, 9:52 a.m.