transition_cost_util {packDAMipd} | R Documentation |
Create the the values of cost and utility while transition
Description
Create the the values of cost and utility while transition
Usage
transition_cost_util(
no_states,
tmat_cost_util,
list_values,
name_states = NULL
)
Arguments
no_states |
number of the health states |
tmat_cost_util |
A transition matrix for the cost/utility values in the format from the package 'mstate' use NA to indicate if the value is zero |
list_values |
list of probabilities as in the order of transitions (row wise) |
name_states |
names of the health states |
Details
Similar to transition matrix but for denoting one time change during transitions
Value
value of the transition matrix
Examples
tmat_cost <- rbind(c(NA, 1), c(NA, NA))
colnames(tmat_cost) <- rownames(tmat_cost) <- c("Healthy", "Dead")
transition_cost_util(2, tmat_cost, list_values = c(500))
[Package packDAMipd version 1.1.0 Index]