Description Usage Arguments Value
View source: R/markov_wrapper.R
This Markov model function using Ontario tanning ban as an example
1 | markov_model(l_param_all, strategy = NULL)
|
l_param_all |
All parameter inputs. This is a named list organized as 'list(par1 = 0.3, par2 = 0.5, df1 = data.frame(t = c(1:3), param = c(0.2, 0.2, 0.3)))' |
strategy |
The strategy of interest. The default is 'NULL', which is the do nothing strategy. |
The function returns a 'data.frame' with first column as the strategy of interest, and the other columns are the outcomes of interest.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.