Learn R Programming

lme4breeding: Linear Mixed Equations 4 Breeding

Extension of the popular lme4 package from Bates et al. to easily fit the most popular breeding models heterogeneous and unstructured variance models, genomic models, competition models, overlayed models, etc.

Installation

You can install the development version of lme4breeding from GitHub:

devtools::install_github('covaruber/lme4breeding')

In addition, the package is also available on CRAN:

install.packages("lme4breeding")

Vignettes

The package is equiped with many datasets and vignettes to learn how to use the package.

Copy Link

Version

Install

install.packages('lme4breeding')

Monthly Downloads

574

Version

1.1.0

License

GPL (>= 2)

Maintainer

Giovanny Covarrubias-Pazaran

Last Published

November 19th, 2025

Functions in lme4breeding (1.1.0)

smm

sparse model matrix
umat

Rotation matrix UDU' decomposition
predict.lmeb

Predict form of a LMM fitted with lmeb/lmebreed
getMME

Build the mixed model equations from a lmeb object
balanceData

Balance a dataset
adjBeta

Adjusting fixed effects for intercept
mkMmeIndex

Table to track effects
condVarRotated

Get the rotated conditional variance matrix
lme4breeding-package

Linear mixed equations 4 Breeding
lmeb-class

Relationship-based mixed-effects model fits
lmeb

Fit breeding-related mixed-effects models
Dtable

Get the hypertable for predictions