View source: R/plot_CEplane_.R
plot_CEplane_ | R Documentation |
Plot Cost Effectiveness Plane (CEP).
plot_CEplane_(.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::Vaccine_PSA$e), .costs = as_tibble(ShinyPSA::Vaccine_PSA$c), .interventions = ShinyPSA::Vaccine_PSA$treats) p <- plot_CEplane_(PSA_summary, .ref = 1, .show_ICER = TRUE, .legend_pos = c(0.8, 0.2), .show_wtp = FALSE, .zoom = T, .wtp_threshold = c(200), tst = "PRINT", # this will be ignored .nudge_labels = c(0.1, -0.1), .zoom_cords = c(-0.001, 0.001, -5, 5))) p ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.