spaMM: Mixed-Effect Models, Particularly Spatial Models

Inference based on mixed-effect models, including generalized linear mixed models with spatial correlations, multivariate responses, and models with non-Gaussian random effects (e.g., Beta). Various approximations of likelihood or restricted likelihood are implemented, in particular Laplace approximation and h-likelihood (Lee and Nelder 2001 <doi:10.1093/biomet/88.4.987>). Both classical geostatistical models, and Markov random field models on irregular grids (as considered in the 'INLA' package, <>), can be fitted. Variation in residual variance (heteroscedasticity) can itself be represented by a mixed-effect model.

Version: 3.7.2
Depends: R (≥ 3.2.0)
Imports: methods, stats, graphics, Matrix, MASS, proxy, Rcpp (≥ 0.12.10), nlme, nloptr, minqa, pbapply, crayon, gmp (≥ 0.6.0), ROI, boot
LinkingTo: Rcpp, RcppEigen (≥
Suggests: maps, testthat, lme4, rsae, rcdd, pedigreemm, foreach, multilevel, Infusion (≥ 1.3.0), IsoriX (≥ 0.8.1), blackbox (≥ 1.1.25), RSpectra, ROI.plugin.glpk
Enhances: multcomp, RLRsim
Published: 2021-02-26
Author: François Rousset ORCID iD [aut, cre, cph], Jean-Baptiste Ferdy [aut, cph], Alexandre Courtiol ORCID iD [aut], GSL authors [ctb] (src/gsl_bessel.*)
Maintainer: François Rousset <francois.rousset at>
License: CeCILL-2
NeedsCompilation: yes
Citation: spaMM citation info
Materials: NEWS
In views: Spatial
CRAN checks: spaMM results


Reference manual: spaMM.pdf
Package source: spaMM_3.7.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: spaMM_3.7.2.tgz, r-oldrel: spaMM_3.6.0.tgz
Old sources: spaMM archive

Reverse dependencies:

Reverse imports: blackbox, Infusion, IsoriX
Reverse suggests: DHARMa


Please use the canonical form to link to this page.