example(mcutLexis)
# we now have the Lexis object L3:
summary(L3)
# data frame for use with msm
msm3 <- Lexis2msm(L3)
# see the difference
subset( L3, lex.id %in% 1:3)
subset(msm3, lex.id %in% 1:3)
timeScales(msm3)
Run the code above in your browser using DataLab