markov_model: Example of Markov model function

Description Usage Arguments Value

View source: R/markov_wrapper.R

Description

This Markov model function using Ontario tanning ban as an example

Usage

1
markov_model(l_param_all, strategy = NULL)

Arguments

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.

Value

The function returns a 'data.frame' with first column as the strategy of interest, and the other columns are the outcomes of interest.


syzoekao/CEAutil documentation built on Oct. 31, 2021, 12:29 a.m.