Learn R Programming

GUIgems (version 0.1)

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

mydata
- cohort@time.to.state created in simulateCohort()
end_time
- time of the simulation

Value

time spent in each of the states by each simulated unit