Renders a complete DCEA report as an HTML, Word, or PDF document using R Markdown.
Usage
generate_dcea_report(
dcea_result,
format = "html",
filepath = NULL,
template = "nice_submission"
)Examples
# \donttest{
result <- run_aggregate_dcea(
icer = 25000, inc_qaly = 0.5, inc_cost = 12500,
population_size = 10000, wtp = 20000
)
generate_dcea_report(result, format = "html")
#> Report written to: /tmp/RtmpORQYMc/dcea_report_1ae71dbc64ec.html
# }