data("Vaccine")
he <- BCEA::bcea(eff, cost)
ceac.plot(he)
ceac.plot(he, graph = "base")
ceac.plot(he, graph = "ggplot2")
ceac.plot(he, graph = "plotly")
ceac.plot(he, graph = "ggplot2",
title = "my title",
line = list(color = "green"),
theme = ggplot2::theme_dark())
## more interventions
he2 <- BCEA::bcea(cbind(eff, eff - 0.0002), cbind(cost, cost + 5))
## could also construct a palette using RColorBrewer, e.g.
## mypalette <- RColorBrewer::brewer.pal(3, "Accent")
## and then call
## ceac.plot(he2, graph = "ggplot2",
## title = "my title",
## theme = ggplot2::theme_dark(),
## pos = TRUE,
## line = list(color = mypalette))
ceac.plot(he, graph = "base", title = "my title", line = list(color = "green"))
ceac.plot(he2, graph = "base")
ceac.plot(he2, graph = "plotly", pos = "bottom")
Run the code above in your browser using DataLab