Description Usage Format Source References Examples
The pig.weights
data frame has 9 repeated
weight measures on 48 pigs.
1 |
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.
Diggle, P.J., Heagerty, P., Liang, K.-Y. and Zeger, S.L. (2002). Analysis of Longitudinal Data, Second Edition, Oxord: Oxford University Press.
Ruppert, D., Wand, M.P. and Carroll, R.J. (2003)
Semiparametric Regression Cambridge University Press.
http://stat.tamu.edu/~carroll/semiregbook/
1 2 3 4 | library(SemiPar)
data(pig.weights)
library(lattice)
xyplot(weight~num.weeks,data=pig.weights,groups=id.num,type="b")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.