Learn R Programming

Biograph (version 1.0)

trans.GLHS: Creates transition matrix for illness-death model for GLHS data

Description

The function creates an illness-death model with three states: Job1, Job2+ and NoJob

Usage

trans.GLHS(names)

Arguments

names
The names of the three states. If the names are missing, the names Job1, Job2 and NoJob are given

Value

  • tmatThe transition matrix with logical values as elements.

Examples

Run this code
data (GLHS)
    z <- trans.GLHS()

Run the code above in your browser using DataLab