Models for discrete longitudinal data Analysing discrete correlated data using R