Describe Data

data %>% explore_tbl()
describe_tbl(data)
d <- describe(data)
knitr::kable(d)

Describe Target

data %>% explore(!!sym(var_name_target), color = color_report_plot)

Explore Variables

# create buckets of variables
buckets <- data %>% 
  explore::get_var_buckets(
    var_name_target = var_name_target,
    bucket_size = 100
  )

# height of each plot
fig_height <- data[buckets[[1]]] %>% 
  explore::total_fig_height(var_name_target = var_name_target)
for (i in seq_along(buckets)) {
  suppressWarnings({
    data[buckets[[i]]] %>% 
      explore_all(ncol = 2, target = !!sym(var_name_target), 
                  split = TRUE, color = color_report_plot)
  })
}


rolkra/explore documentation built on April 17, 2024, 10:58 p.m.