init_trace {packDAMipd} | R Documentation |
Define an all zero trace matrix
Description
Define an all zero trace matrix
Usage
init_trace(health_states, cycles)
Arguments
health_states |
health states |
cycles |
no of cycles |
Details
Initialise the trace matrix with all zeros trace matrix will be with no_cycles+1 by no_states matrix
Value
trace matrix -all zero
Examples
a <- health_state("Healthy", 1, 1, 0, FALSE)
b <- health_state("Dead", 1, 0.5, 0, FALSE)
health_states <- combine_state(a, b)
init_trace(health_states, 10)
[Package packDAMipd version 1.1.0 Index]