Package: sommer 4.4.5

Giovanny Covarrubias-Pazaran

sommer: Solving Mixed Model Equations in R

Structural multivariate-univariate linear mixed model solver for estimation of multiple random effects with unknown variance-covariance structures (e.g., heterogeneous and unstructured) and known covariance among levels of random effects (e.g., pedigree and genomic relationship matrices) (Covarrubias-Pazaran, 2016 <doi:10.1371/journal.pone.0156744>; Maier et al., 2015 <doi:10.1016/j.ajhg.2014.12.006>; Jensen et al., 1997). REML estimates can be obtained using the Direct-Inversion Newton-Raphson and Direct-Inversion Average Information algorithms for the problems r x r (r being the number of records) or using the Henderson-based average information algorithm for the problem c x c (c being the number of coefficients to estimate). Spatial models can also be fitted using the two-dimensional spline functionality available.

Authors:Giovanny Covarrubias-Pazaran [aut, cre]

sommer_4.4.5.tar.gz
sommer_4.4.5.tar.gz(r-4.7-arm64)sommer_4.4.5.tar.gz(r-4.7-x86_64)sommer_4.4.5.tar.gz(r-4.6-arm64)sommer_4.4.5.tar.gz(r-4.6-x86_64)
sommer_4.4.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
sommer/json (API)

# Install 'sommer' in R:
install.packages('sommer', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/covaruber/sommer/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

10.09 score 16 stars 9 packages 507 scripts 7.0k downloads 39 mentions 43 exports 8 dependencies

Last updated from:6b829e38db. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK174
linux-devel-x86_64OK183
source / vignettesOK330
linux-release-arm64OK170
linux-release-x86_64OK183
wasm-releaseOK122

Exports:A.matanova.mmesAR1ARMAatmatrcoef.mmescorImputationcovmCScsmcsrD.matdfToMatrixdsmdsrE.matfitted.mmesfixmGWASH.matismmmermmesMNRplot.mmespmonitorpredict.mmesr2randefresiduals.mmesspl2Dcspl2Dmatssummary.mmestpsmmbwrapperunsmunsm2usmusrvpredictvsvsmvsr

Dependencies:crayonenhancerlatticeMASSMatrixRcppRcppArmadilloRcppProgress

Fitting genotype by environment models in sommer

Rendered fromsommer.gxe.Rmdusingknitr::knitron May 24 2026.

Last update: 2025-11-26
Started: 2025-04-04

Quantitative genetics using the sommer package

Rendered fromsommer.qg.Rmdusingknitr::knitron May 24 2026.

Last update: 2025-11-26
Started: 2025-04-04

Spatial modeling using the sommer package

Rendered fromsommer.spatial.Rmdusingknitr::knitron May 24 2026.

Last update: 2025-11-26
Started: 2025-04-04

Translating lme4 models to sommer

Rendered fromsommer.vs.lme4.Rmdusingknitr::knitron May 24 2026.

Last update: 2025-11-26
Started: 2025-04-04

Readme and manuals

Help Manual

Help pageTopics
*So*lving *M*ixed *M*odel *E*quations in *R*sommer
Additive relationship matrixA.mat
anova form a GLMM fitted with mmesanova.mmer anova.mmes
Autocorrelation matrix of order 1.AR1
Autocorrelation Moving average.ARMA
atm covariance structureatm atr
coef form a GLMM fitted with mmescoef.mmer coef.mmes
Imputing a matrix using correlationscorImputation
covariance between random effectscovm
Compound symmetry matrixCS
customized covariance structurecsm csr
Dominance relationship matrixD.mat
data frame to matrixdfToMatrix
diagonal covariance structuredsm dsr
Epistatic relationship matrixE.mat
fitted form a LMM fitted with mmesfitted.mmer fitted.mmes
fixed indication matrixfixm
Genome wide association study analysisGWAS
Combined relationship matrix HH.mat
identity covariance structureism
*m*ixed *m*odel *e*quations for *r* recordsmmer
*m*ixed *m*odel *e*quations *s*olvermmes
Multivariate Newton-Raphson algorithmMNR
plot form a LMM plot with mmesplot.mmer plot.mmes
plot the change of VC across iterationspmonitor
Predict form of a LMM fitted with mmespredict.mmer predict.mmes
Reliabilityr2
extracting random effectsrandef
Residuals form a GLMM fitted with mmesresiduals.mmer residuals.mmes
Two-dimensional penalised tensor-product of marginal B-Spline basis.spl2Da spl2Db spl2Dc
Get Tensor Product Spline Mixed Model Incidence Matricesspl2Dmats
summary form a GLMM fitted with mmerprint.mmer print.summary.mmer summary.mmer
summary form a GLMM fitted with mmesprint.mmes print.summary.mmes summary.mmes
Get Tensor Product Spline Mixed Model Incidence Matricestpsmmbwrapper
unstructured indication matrixunsm unsm2
unstructured covariance structureusm usr
vpredict form of a LMM fitted with mmesvpredict vpredict.mmes
variance structure specificationvs
variance structure specificationvsm
variance structure specificationvsr