Skip to contents

Models

vlm_fit()
Fit a linear mixed model
vlm_random() vlm_repeated()
Random-effects and residual covariance structures
vlm_ems()
Analysis of variance with expected mean squares
vlm_compare()
Compare fitted models

Inference

vlm_lsmeans()
Least-squares means
vlm_estimate() vlm_contrast()
Estimates and contrasts of fixed (and random) effects
vlm_blup()
Best linear unbiased predictions of the random effects

The examples of the book

Examp1.3.2
Example 1.3.2: expected mean squares in the fixed and the mixed model
Examp2.2.1.7
Example 2.2.1.7: one-way analysis of variance, an estimate and a contrast
Examp2.3.2
Example 2.3.2: the mixed model descriptions of Chapter 2
Examp2.4.2.2
Example 2.4.2.2: ML and REML estimates of variance components
Examp2.4.3.1
Example 2.4.3.1: best linear unbiased prediction of sire effects
Examp2.5.1.1
Example 2.5.1.1: generalised least-squares estimates of the fixed effects
Examp2.5.2.1
Example 2.5.2.1: cell means as estimable functions
Examp2.5.3.1
Example 2.5.3.1: confidence intervals with Satterthwaite degrees of freedom
Examp2.5.4.1
Example 2.5.4.1: broad and narrow inference spaces
Examp2.6.1
Example 2.6.1: F tests of general linear hypotheses
Examp3.1
Example 3.1: a designed experiment with doses nested in drug and a covariate
Examp3.2
Example 3.2: sires nested in breed, heritability and breed comparisons
Examp3.3
Example 3.3: covariance structures for repeated measures

Data sets of the book

ex121
Example 1.2.1: comparing three doses of a drug
ex122
Example 1.2.2: comparing two doses of a drug in a randomised block design
ex123
Example 1.2.3: comparing two drugs with herds as experimental units
ex124
Example 1.2.4: two drugs at two doses with two sizes of experimental units
ex125
Example 1.2.5: two drugs at two doses in a split-plot design
ex126
Example 1.2.6: variation in ELISA data
ex127
Example 1.2.7: helminth resistance in sheep
ex31
Example 3.1: two drugs and their doses, herds nested in drug (part of the data)
ex32
Example 3.2: weaning weights of lambs by breed and sire (part of the data)
ex33
Example 3.3: breed differences in susceptibility to trypanosomosis

Results, plots and interpretation

Application

vlm_app() vlm_app_object()
Linear mixed models in a web browser

Version 1.1.0

Kept, and extended to vlm_fit() results.

emmeans_mixed_model()
Estimated marginal means for a fitted mixed model
report_mixed_model()
Report a fitted mixed model

Utilities

vlm_cite()
References of a result or of the package
vlm_theme()
ggplot2 theme of VetResearchLMM
vlm_save()
Save a figure (vector PDF by default)
vlm_notation()
Notation of VetResearchLMM
vlm_reference()
Published values used by the tests and vignettes
VetResearchLMM VetResearchLMM-package
VetResearchLMM: Linear Mixed Models with Applications in Veterinary Research