| rats {DPpackage} | R Documentation |
This example is taken from section 6 of Gelfand and Smith (1990), and concerns 30 young rats whose weights were measured weekly for five weeks.
data(rats)
A data frame with 150 observations on the following 3 variables.
weighta numeric vector giving the weight of the rat
daya numeric vector giving the day of the weight evaluation
ratan ordered factor giving a unique identifier for the subject in the study
Gelfand, A.E. (with S. Hills, A. Racine-Poon and A.F.M. Smith) 1990. Illustration of Bayesian Inference in Normal Data Models Using Gibbs Sampling. Journal Amer. Stat. Assoc., 85, 972-985.
Gelfand, A.E. (with S. Hills, A. Racine-Poon and A.F.M. Smith) 1990. Illustration of Bayesian Inference in Normal Data Models Using Gibbs Sampling. Journal Amer. Stat. Assoc., 85, 972-985.
data(rats) ## maybe str(rats) ; plot(rats) ...