extra_eda: Univariate and associated bivariate EDA visualizations

View source: R/extra_eda.R

extra_edaR Documentation

Univariate and associated bivariate EDA visualizations

Description

The function has several side-effects including the creation of one or more plots in a temporary folder. The function is intended to be run from within a R Markdown of flexdashboad document in a code chunk with results="asis"

Usage

extra_eda(
  df,
  eda_var,
  target_var = NULL,
  reference_var = NULL,
  menu_title = "EDA",
  discrete_cutoff = 10
)

Arguments

df

a dataframe

eda_var

character name of the column upon which the extra exploratory data analysis will be performed

target_var

character name of the column used for conditional analysis

reference_var

a numeric continuous valued vector to be plotted as x-axis reference for comparison of eda_var by target_var

menu_title

character title under which the individual exploratory data analysis pages will be linked in the dashboard.

discrete_cutoff

numerical if the eda_var has less than discrete_cutoff distinct levels, the eda_var will be treated like a factor.

Value

returns html containing css, summaries, and graphs for included analysis.

Examples

# extra_eda(df = eeda::eeda_test_data, eda_var = "eg_continuous")

johnaclouse/eeda documentation built on July 22, 2022, 12:16 a.m.