health_state: Definition of health state class or health state constructor

Description Usage Arguments Value Examples

View source: R/model_functions.R

Description

Definition of health state class or health state constructor

Usage

1
health_state(name, cost_expr, utility_expr, time = 0, absorb = FALSE)

Arguments

name

name of the health state

cost_expr

value or expression that represents cost of the health state

utility_expr

value or expression that represents utility of the health state

time

denoting how long in the state

absorb

boolean indicating health state abosribing or not

Value

value of the state

Examples

1
st <- health_state("IT", 100, 0.4, 0, FALSE)

sheejamk/MarkovModel documentation built on Jan. 23, 2020, 2:44 a.m.