From c86ff33c144128fe0dca9d206c6032758d8773d0 Mon Sep 17 00:00:00 2001 From: Linda Nab Date: Wed, 15 Nov 2023 21:57:26 +0000 Subject: [PATCH] make output longer --- analysis/data_properties/flowchart_outcomegrps.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/analysis/data_properties/flowchart_outcomegrps.R b/analysis/data_properties/flowchart_outcomegrps.R index 24080de..c677845 100644 --- a/analysis/data_properties/flowchart_outcomegrps.R +++ b/analysis/data_properties/flowchart_outcomegrps.R @@ -102,8 +102,9 @@ flowchart_outcomegrps <- n_outcomes_trt, n_outcomes_untrt, n_outcomes_untrt_treat_window, - n_outcomes_untrt_after_treat_window) - + n_outcomes_untrt_after_treat_window) %>% + tidyr::pivot_longer(everything()) + ################################################################################ # 3 Redact flowchart ################################################################################