Explore"

Describe Data

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

Describe Target

data %>% explore(!!sym(var_name_target))

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)) {
  data[buckets[[i]]] %>% 
    explore_all(ncol = 2, target = !!sym(var_name_target), split = TRUE)
}


Try the explore package in your browser

Any scripts or data that you put into this service are public.

explore documentation built on Oct. 11, 2023, 9:07 a.m.