Skip to contents

Packed cell volume (PCV, %) at treatment and one month later; Berenil (at two doses) and Samorin (one dose) were given to animals in herds nested in drug. The book prints only part of the data (a few animals per herd and dose); these 38 rows are that part, so the analyses of Example 3.1 run but do not reproduce the printed results.

Usage

ex31

Format

A data frame with 38 rows and 6 variables:

herd

herd within drug: 1 to 4 (herds with the same number but another drug are different herds).

animal_id

animal.

PCV1

PCV at treatment.

PCV2

PCV one month after treatment.

dose

dose within drug: 1 or 2 (Samorin has dose 1 only).

drug

drug: BERENIL or SAMORIN.

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.

See also

Examp3.1

Other VetResearchLMM data: ex121, ex122, ex123, ex124, ex125, ex126, ex127, ex32, ex33

Examples

str(ex31)
#> 'data.frame':	38 obs. of  6 variables:
#>  $ herd     : int  1 1 1 1 1 1 1 1 1 2 ...
#>  $ animal_id: int  667 1003 1177 227 241 271 44 48 233 1368 ...
#>  $ PCV1     : int  17 22 20 22 22 18 22 21 18 18 ...
#>  $ PCV2     : int  28 23 28 25 23 18 27 20 30 20 ...
#>  $ dose     : int  1 1 1 2 2 2 1 1 1 1 ...
#>  $ drug     : Factor w/ 2 levels "BERENIL","SAMORIN": 1 1 1 1 1 1 2 2 2 1 ...