gorkang / BayesianReasoning

R package with functions to plot and help understand Positive and Negative Predictive Values, and their relationship with Sensitivity, Specificity and Prevalence.
https://gorkang.shinyapps.io/BayesianReasoning/
8 stars 1 forks source link

Need to set min_prevalence at 1 #8

Closed gorkang closed 6 years ago

gorkang commented 6 years ago

The area of the overlay goes below 1. Set min at 1

    PPV_heatmap(Max_Prevalence = 1200, Sensitivity = 81, Max_FP = 5,
                label_subtitle = "Prenatal screening for Down Syndrome by Age",
                save_plot = TRUE,
                overlay = "area",
                overlay_labels = "40 y.o.",
                overlay_position_FP = 4.8,
                overlay_position_Prevalence = 68)