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

Wide uncertainty area should not change with uncertainty_prevalence #11

Closed gorkang closed 2 years ago

gorkang commented 6 years ago
# HIGH
PPV_heatmap(Min_Prevalence = 1,
            Max_Prevalence = 1000, Sensitivity = 100, Max_FP = 2,
            label_subtitle = "Prenatal screening for Down Syndrome by Age",
            save_plot = FALSE,
            overlay = "area", uncertainty_prevalence = "high",
            overlay_labels = "40 y.o.",
            overlay_position_FP = 1,
            overlay_position_Prevalence = "1 in 500")

# LOW
PPV_heatmap(Min_Prevalence = 1,
            Max_Prevalence = 1000, Sensitivity = 100, Max_FP = 2,
            label_subtitle = "Prenatal screening for Down Syndrome by Age",
            save_plot = FALSE,
            overlay = "area", uncertainty_prevalence = "low",
            overlay_labels = "40 y.o.",
            overlay_position_FP = 1,
            overlay_position_Prevalence = "1 in 500")

Related to #12