get_var_state {packDAMipd}R Documentation

Get the attribute for the health state

Description

Get the attribute for the health state

Usage

get_var_state(state, var)

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

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

[Package packDAMipd version 1.1.0 Index]