R Dataset / Package geepack / dietox
On this R-data statistics page, you will find information about the dietox data set which pertains to Growth curves of pigs in a 3x3 factorial experiment. The dietox data set is found in the geepack R package. You can load the dietox data set in R by issuing the following command at the console data("dietox"). This will load the data into a variable called dietox. If R says the dietox data set is not found, you can try installing the package by issuing this command install.packages("geepack") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the dietox R data set. The size of this file is about 24,798 bytes.
Growth curves of pigs in a 3x3 factorial experiment
Description
The dietox
data frame has 861 rows and 7 columns.
Usage
data(dietox)
Format
This data frame contains the following columns:
- Weight
-
a numeric vector
- Feed
-
a numeric vector
- Time
-
a numeric vector
- Pig
-
a numeric vector
- Evit
-
a numeric vector
- Cu
-
a numeric vector
- Litter
-
a numeric vector
Source
Lauridsen, C., Højsgaard, S.,Sørensen, M.T. C. (1999) Influence of Dietary Rapeseed Oli, Vitamin E, and Copper on Performance and Antioxidant and Oxidative Status of Pigs. J. Anim. Sci.77:906-916
Examples
data(dietox) dietox$Cu <- as.factor(dietox$Cu) gee01 <- geeglm (Weight ~ Time + Cu + Cu * Time, id =Pig, data = dietox, family=gaussian,corstr="ex")mf <- formula(Weight~Cu*(Time+I(Time^2)+I(Time^3))) gee1 <- geeglm(mf, data=dietox, id=Pig, family=poisson("identity"),corstr="ar1") summary(gee1) anova(gee1)
Dataset imported from https://www.r-project.org.