Example 1.2.4: two drugs at two doses with two sizes of experimental units
Source:R/data.R
ex124.RdChange in packed cell volume (PCV, %) of animals in four herds: the drug is given to whole herds (two herds per drug) and the dose to animals within a herd (Table 1.2.4 and Appendix A of the book).
Format
A data frame with 40 rows and 4 variables:
- herd
herd: 1 to 4 (nested in drug).
- drug
drug:
BerenilorSamorin.- dose
dose:
h(high) orl(low).- PCVdif
change in PCV.
Source
Duchateau, L., Janssen, P. and Rowlands, G. J. (1998). Linear Mixed Models. An Introduction with Applications in Veterinary Research. International Livestock Research Institute, Nairobi. Appendix A.
Examples
str(ex124)
#> 'data.frame': 40 obs. of 4 variables:
#> $ herd : int 1 1 1 1 1 1 1 1 1 1 ...
#> $ drug : Factor w/ 2 levels "Berenil","Samorin": 1 1 1 1 1 1 1 1 1 1 ...
#> $ dose : Factor w/ 2 levels "h","l": 2 2 2 2 2 1 1 1 1 1 ...
#> $ PCVdif: num 2.5 1.6 3.5 2.6 2.8 6.9 6.8 7.2 5.9 6.5 ...