get_var_state: Get the attribute for the health state

Description Usage Arguments Details Value Examples

View source: R/1_model_functions.R

Description

Get the attribute for the health state

Usage

1

Arguments

state

object of class health state

var

attribute of the health state

Details

After checking the given state is a health state and given variable is defined in the health state, the value of the variable is returned

Value

modified health state

Examples

1
get_var_state(health_state("IT", 100, 0.4, 0, FALSE), "cost")

packDAMipd documentation built on March 3, 2021, 5:07 p.m.