Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


Biograph (version 2.0.6)

RateTable: Table for rate calculation

Description

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

References

Willekens (2011)

Examples

Run this code
 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)

Run the code above in your browser using DataLab