# Example 1: ages at labour market entry, by sex
library (Epi)
data(GLHS)
y <- Parameters(GLHS)
z <- Lexispoints (GLHS,"NJ","Calendar time and age at labour market entry","sex")
# Example 2: ages at first birth among married women, by religious denomination
data(NLOG98)
y <- Parameters (NLOG98)
z <- Lexispoints (NLOG98,"MK","Calendar time and age at first birth (married women)","kerk")
# Example 3: ages at leaving home, by birth cohort (any destination)
z <- Lexispoints (NLOG98,"H*","Calendar time and age at leaving parental home","cohort")
Run the code above in your browser using DataLab