timeInStates: Builds hazard function matrix based on the hazard function names matrix.
Description
Builds hazard function matrix based on the hazard function names matrix.Usage
timeInStates(mydata, end_time = 100)
Arguments
end_time
- time of the simulation
Value
time spent in each of the states by each simulated unit