Occup: State occupancies and sojourn times

Description Usage Arguments Value Author(s) See Also Examples

Description

Determines states occupied at each age (birthday) and sojourn time in each state during intervals of one-year age.

Usage

1
Occup(Bdata)

Arguments

Bdata

Biograph object

Value

state_occup

For each age: number of subjects by state and number of subjects censored

st_age_1

For each subject: state occupied at each consecutive age. This component may be used as input to the TraMineR package.

sjt_age_1

For each subject: sojourn time (years) in each state during age intervals of one year.

tsjt

For total sample: number of years spent in each state during age intervals of one year.

Author(s)

Frans Willekens

See Also

Trans is used after Occup

Examples

1
2
3
4
  data(GLHS)
  param <- Parameters(GLHS)
  z <- Occup (GLHS)
  

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