OverviewTransitions: Overview of transitions

Description Usage Arguments Value Note Author(s) Examples

Description

Produces summary indicators of transitions.

Usage

1
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.

Note

The function checks for availability of numstates (number of states). If numstates is not available, the function Parameters is called.

Author(s)

Frans Willekens

Examples

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

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