The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider. If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Introduction to VetResearchLMM
1 Scope
VetResearchLMM contains datasets and R examples for Duchateau, Janssen, and Rowlands (1998), Linear Mixed Models: An Introduction with Applications in Veterinary Research. The package is designed for applied users who want to work through the book examples in R while preserving the statistical intent of the original SAS analyses.
The package does not define a large modelling API. Instead, it provides:
book datasets in data/
example help pages such as ?Examp2.4.2.2
collapse::fmutate() preprocessing patterns in modernized examples
report_mixed_model() for optional easystats-style fitted model reports
tests that guard the documented dataset structure
regression checks for readable numerical targets from the book
Current package maintenance includes the School of Mathematical and Statistical Sciences, Clemson University.
Example 2.2.1.7 studies hypothesis testing for dose effects in the ex121 data. The book reports an F statistic near 14.36 for the dose effect. The R analysis reproduces that value to rounding precision.
The ANOVA (formula: PCVdiff ~ dose) suggests that:
- The main effect of dose is statistically significant and large (F(2, 11) =
14.37, p < .001; Eta2 = 0.72, 95% CI [0.39, 1.00])
Effect sizes were labelled following Field's (2013) recommendations.
stats::anova(fit_ex2217)
Analysis of Variance Table
Response: PCVdiff
Df Sum Sq Mean Sq F value Pr(>F)
dose 2 80.727 40.363 14.365 0.000856 ***
Residuals 11 30.908 2.810
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
The same dataset can be viewed graphically before modelling.
The bundled PDF is a scanned Google Books PDF with no extractable text. Exact automated comparison against every printed value is therefore not possible without OCR. The package tests verify the examples where the printed targets are readable from page images, and the remaining examples are checked by model specification and successful execution.
These binaries (installable software) and packages are in development. They may not be fully stable and should be used with caution. We make no claims about them.