Learn R Programming

Biograph (version 2.0.6)

OverviewTransitions: Overview of transitions

Description

Produces summary indicators of transitions.

Usage

OverviewTransitions(Bdata, seq.ind, agetrans)

Arguments

Bdata
input data
seq.ind
individual state sequences. If seq.ind is missing, the function calls Sequences.ind to obtain the individual state sequences.
agetrans
Ages at the different transitions. If agetrans is missing, the function calls AgeTrans.

Value

Ttrans
Number of transitions by origin and destination and censored cases by state occupied at time of censoring.
meanage
Mean age at transition by origin and destinatin and mean age at censoring.

Examples

Run this code
 data (GLHS)
 z <- Parameters (GLHS)
 seq.ind <- Sequences.ind (GLHS$path,attr(GLHS,"param")$namstates)
 agetrans <- AgeTrans (GLHS)
 overviewT <- OverviewTransitions (GLHS, seq.ind=seq.ind, agetrans)

Run the code above in your browser using DataLab