data(
vi_smol,
vi_predictors_numeric
)
## OPTIONAL: parallelization setup
## irrelevant when all predictors are numeric
## only worth it for large data with many categoricals
# future::plan(
# future::multisession,
# workers = future::availableCores() - 1
# )
## OPTIONAL: progress bar
# progressr::handlers(global = TRUE)
x <- cor_stats(
df = vi_smol,
predictors = vi_predictors_numeric
)
x
## OPTIONAL: disable parallelization
#future::plan(future::sequential)
Run the code above in your browser using DataLab