explore_numeric_columns: Performs EDA of numeric features

Description Usage Arguments Value Examples

View source: R/explore_numeric_columns.R

Description

This function creates common exploratory analysis visualizations on numeric columns in the dataset which is provided to it.

Usage

1
2
3
4
5
6
explore_numeric_columns(
  df,
  hist_cols = NULL,
  pairplot_cols = NULL,
  corr_method = "pearson"
)

Arguments

df

The dataframe for which exploratory analysis is to be carried out

hist_cols

A list. If passed, it will limit histograms to a subset of columns

pairplot_cols

A list. If passed, it will limit pairplots to a subset of columns

corr_method

Chooses the metric for correlation. Default value is 'pearson'. Possible values are 'pearson', 'kendall', 'spearman'

Value

a list of plot objects generated created by the function

Examples

1
2
library(palmerpenguins)
results <- explore_numeric_columns(penguins)

UBC-MDS/datascience.eda.R documentation built on March 24, 2021, 2:22 a.m.