prepare_dot_data_b.Rd
Prepare Dot plot data for binary outcomes
prepare_dot_data_b(data)
data frame for specified type of analysis
dot_plot_src <- subset(effects_table, Type == "Binary")
dot_plot_data <- prepare_dot_data_b(dot_plot_src)
#> [2024-08-28 08:20:52] > Prepare Dot plot data for binary outcomes
head(dot_plot_data)
#> rate treatment type factor outcome group
#> 1 0.460 Drug A Binary Benefit Primary Efficacy 1
#> 2 0.190 Drug A Binary Risk Reoccurring AE 2
#> 3 0.015 Drug A Binary Risk Rare SAE 3
#> 4 0.004 Drug A Binary Risk Liver 4
#> 5 0.200 Drug B Binary Benefit Primary Efficacy 5
#> 6 0.180 Drug B Binary Risk Reoccurring AE 6