I am using tbl_uvregression (or tbl_summary) from {gtsummary} with a relatively small dataframe (200 rows, 800 columns).
When computing multiple univariate regression with adjusted p-value:
tbl_uvregression(df, method=coxph, y = Surv(time = survival_time, event = status),
exponentiate = TRUE) %>% add_q()
or some intergroup comparisons with adjusted p-value:
tbl_summary(data = df, by = group, missing = "no") %>% add_p() %>% add_q(method = "fdr") %>% sort_p
it takes so much time (more than 10 minutes). I was wondering if this could be improved because my CPU is only slightly used (globally up to 20%) and the RAM is not used at all. Is it possible to make it faster by using more CPUs and/or RAM?
My computer is a Dell XPS (9570) with 16 Gb RAM and i7-8750H (6 cores, 12 threads, 2.2 Ghz) intel CPU, running on Windows 10. Thanks for any suggestions.
