fast_corr: Create correlation matrix for columns in dataframe

Description Usage Arguments Value Examples

View source: R/fast_corr.R

Description

The function takes in a dataframe/tibble and a vector of column names and creates a correlation matrix. The correlation matrix can only include numeric columns

Usage

1
fast_corr(df, selected_columns)

Arguments

df

The data that will be plotted

selected_columns

The vector of column names to be included in correlation matrix

Value

plot object

Examples

1
2
fast_corr(iris, c('Sepal.Length','Sepal.Width', 'Petal.Length','Petal.Width', 'Species'))
fast_corr(iris, c(1,2,3,4,5))

UBC-MDS/redahelper documentation built on April 2, 2020, 3:59 a.m.