plot_eNMB_ | R Documentation |
Plot Expected Net Monetary Benefit (eNMB)
plot_eNMB_(.PSA_data, ...)
.PSA_data |
A list of class shinyPSA that contains summary PSA results. |
... |
Additional arguments that include:
legend position |
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_eNMB_(PSA_summary, .legend_pos = NULL, .wtp_threshold = c(2000, 10000, 20000, 25000), .show_wtp = TRUE, .label_wtp = FALSE, .zoom = FALSE, .zoom_cords = NULL) p ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.