data (GLHS)
z <- Parameters (GLHS)
ist <- statesequence.ind (GLHS)
agetrans <- AgeTrans (GLHS)
overviewT <- OverviewTransitions (GLHS, seq.ind=ist, agetrans)
path1 <- getwd() # save output file in current directory
p.OverviewTransitions (overviewT,path=path1,file.in="GLHS",file.out="transitions.out")
Run the code above in your browser using DataLab