plot_CEAC_ | R Documentation |
Plot Cost Effectiveness Acceptability Curve (CEAC)
plot_CEAC_(.PSA_data, ...)
.PSA_data |
A list of class shinyPSA that contains summary PSA results. |
... |
Additional arguments that include:
reference intervention |
An object of class ggplot.
## Not run: library(ShinyPSA) PSA_summary <- summarise_PSA_( .effs = as_tibble(ShinyPSA::Smoking_PSA$e), .costs = as_tibble(ShinyPSA::Smoking_PSA$c), .interventions = ShinyPSA::Smoking_PSA$treats) p <- plot_CEAC_(PSA_summary, .ref = 1, .legend_pos = NULL, .wtp_threshold = c(2000, 10000, 20000, 25000), .show_wtp = TRUE, .label_wtp = FALSE, .zoom = FALSE, .zoom_cords = NULL, .show_shapes = TRUE, .add_CEAF = TRUE) p ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.