# The following example selects the "JN" transitions from the GLHS data
# and produces Lexis diagrams with age and time intervals of 5 years data (GLHS)
data (GLHS)
w <- LexisOccExp (Bdata=GLHS,transition= "JN",nyear=5)
Run the code above in your browser using DataLab