Description Usage Arguments Value See Also Examples
View source: R/markov_ce_pipeline.R
This functions wraps multiple modular functions and allows an end-to-end cost effectiveness to be run, including final analysis of the findings.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
markov_model |
A list of functions that define a markov model across multiple interventions. See |
duration |
Numeric, how many long to run the model for. |
discount |
Numeric, the discount that should be applied to the costs and QALYs. Defaults to 1.035. |
samples |
Numeric, defaults to 1. The number of markov model samples to use. |
baseline |
Numeric, the intervention to consider as the baseline for pairwise comparisons. |
willingness_to_pay_threshold |
Numeric, defaulting to 20,000. This is the threshold at which an intervention may be considered cost effective in the UK. |
sample_type |
A character string specifying the approach to use to sample the model.
Options and defaults inherited from |
sim_type |
A character string specifying the approach to use to simulate the model.
Options and defaults inherited from |
debug |
Logical, defaults to |
batches |
Numeric, defaults to 1. The number of batches to run simulation/sampling in. When set to
values greater than 1 a |
batch_fn |
Function, defaults to |
... |
Additional options to pass to |
A list containing the model samples and simulations and cost effectiveness summary measures.
markov_simulation_pipeline analyse_ce
1 2 | markov_ce_pipeline(example_two_state_markov(), duration = 10, samples = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.