corrplot: Generates a correlation plot for the numeric variables in a...

Description Usage Arguments Value Examples

View source: R/corrplot.R

Description

Generates a correlation plot for the numeric variables in a dataframe, and prints the correlation values.

Usage

1
corrplot(df, print_corr = FALSE, title = "Correlation Plot")

Arguments

df

The dataframe containing the data to be plotted.

print_corr

Whether or not to print the correlation values between variables

title

Title of the plot

Value

A ggplot object.

Examples

1
2
penguins_data <- palmerpenguins::penguins
corrplot(penguins_data, print_corr = FALSE, title = "Correlation chart")

UBC-MDS/magmavizR documentation built on Feb. 6, 2022, 9:41 p.m.