Learn R Programming

corrr (version 0.1.0)

rplot: Plot a correlation data frame.

Description

Plot a correlation data frame using ggplot.

Usage

rplot(x, shape)

Arguments

x

cor_df. See correlate.

shape

geom_point aesthetic.

Value

Plots a correlation data frame

Examples

Run this code
# NOT RUN {
x <- correlate(mtcars)
rplot(x)

# Common use is following rearrange and shave
x <- rearrange(x, absolute = FALSE)
x <- shave(x)
rplot(x)
# }

Run the code above in your browser using DataLab