knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Automated Exploratory Analysis (auto EDA) using the report()
function of the explore package.
In this example we use synthetic data created by the create_data_churn()
function of the explore package.
library(dplyr) library(explore) data <- create_data_churn()
Then we generate the report.
data %>% report(output_dir = tempdir())
data %>% explore_tbl()
data %>% describe_tbl()
describe(data)
# create buckets of variables buckets <- data %>% explore::get_var_buckets( bucket_size = 100 ) # height of each plot fig_height <- data[buckets[[1]]] %>% explore::total_fig_height(size = 2)
for (i in seq_along(buckets)) { data[buckets[[i]]] %>% explore_all(ncol = 2) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.