data(motherStress)idstressillnessmarriededucationemployedchlthmhlthracecsexhousizebstressbillnessweekDiggle, P. J., Heagerty, P., Liang, K. Y., Zeger, S. L. (2002). Analysis of Longitudinal Data. New York: Oxford University Press.
Zeger, S. L., Liang, K. L (1986). Longitudinal data analysis for discrete and continous outcomes. Biometrics, 42, 121-130.
data(motherStress)
head(motherStress,10)
require(graphics)
mosaicplot(~motherStress$employed+motherStress$housize+motherStress$stress,color=TRUE)
Run the code above in your browser using DataLab