Learn R Programming

Biograph (version 1.0)

Trans: Transitions by age

Description

Tabulates transitions by origin, destination and age.

Usage

Trans(survey, seq.ind)

Arguments

survey
Input data
seq.ind
Individual sequences

Value

  • TtransTotal number of transitions by origin and destination.
  • meanageMean age of transitions by origin and destination
  • transNumber of transitions by origin, destination and age
  • states_during_intervalNumber of states occupied during an age interval of one year by an average subject.

Details

Tabulates transitions and determines mean ages.

Examples

Run this code
data (GLHS)
	y<- Parameters(GLHS)
	ist <- statesequence.ind (GLHS)
	z <- Trans (GLHS,seq.ind=ist)

Run the code above in your browser using DataLab