Ratetable produces a table of transition counts and exposure times for the computation of transition rates (occurrence-exposure rates)
Usage
RateTable(Bdata,occup, trans)
Arguments
Bdata
Biograph object
occup
Object produced by the Occup function
trans
Object produced by the Trans function
Value
Stable
The table of transitions and exposure times
censored_by_age
Number of censored cases by age and state at censoring
Details
RateTable is one of the key functions of the package. The Stable object it produces contains the data needed for the computation of transition rates by origin, destination and age
data (GLHS)
z<- Parameters (GLHS)
occup <- Occup(GLHS)
ist <- Sequences.ind (GLHS$path,attr(GLHS,"param")$namstates)
trans <- Trans (GLHS)
w <- RateTable(GLHS,occup, trans)