powered by
The pig.weights data frame has 9 repeated weight measures on 48 pigs.
pig.weights
data(pig.weights)
This data frame contains the following columns:
identification number of pig.
number of weeks since measurements commenced.
bodyweight of pig "id.num" after "num.weeks" weeks.
Ruppert, D., Wand, M.P. and Carroll, R.J. (2003) Semiparametric Regression Cambridge University Press. http://stat.tamu.edu/~carroll/semiregbook/
# NOT RUN { library(SemiPar) data(pig.weights) library(lattice) xyplot(weight~num.weeks,data=pig.weights,groups=id.num,type="b") # }
Run the code above in your browser using DataLab