Description Usage Arguments Value See Also Examples
View source: R/markov_simulation_pipeline.R
This functions wraps multiple modular functions and allows an end-to-end cost effectiveness to be run, excluding the final analysis of the findings. It may also be used in batch mode to run analyses in parallel.
1 2 3 4 5 6 7 8 9 10 11 12 |
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. |
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 |
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 |
debug |
Logical, defaults to |
... |
Additional options to pass to |
A list containing the model samples and simulations.
sample_markov simulate_markov
1 | markov_simulation_pipeline(example_two_state_markov(), duration = 10, samples = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.