RateTable: Table for rate calculation

Description Usage Arguments Details Value Author(s) References Examples

Description

Ratetable produces a table of transition counts and exposure times for the computation of transition rates (occurrence-exposure rates)

Usage

1
RateTable(Bdata,occup, trans)

Arguments

Bdata

Biograph object

occup

Object produced by the Occup function

trans

Object produced by the Trans function

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

Value

Stable

The table of transitions and exposure times

censored_by_age

Number of censored cases by age and state at censoring

Author(s)

Frans Willekens

References

Willekens (2011)

Examples

1
2
3
4
5
6
 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)

Biograph documentation built on May 1, 2019, 8:48 p.m.