Mixed-Effect Models, with or without Spatial Random Effects

Inference based on models with or without spatially-correlated random effects, multivariate responses, or non-Gaussian random effects (e.g., Beta). Variation in residual variance (heteroscedasticity) can itself be represented by a mixed-effect model. Both classical geostatistical models (Rousset and Ferdy 2014 ), and Markov random field models on irregular grids (as considered in the 'INLA' package, < https://www.r-inla.org>), can be fitted, with distinct computational procedures exploiting the sparse matrix representations for the latter case and other autoregressive models. Laplace approximations are used for likelihood or restricted likelihood. Penalized quasi-likelihood and other variants discussed in the h-likelihood literature (Lee and Nelder 2001 ) are also implemented.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("spaMM")

4.7.17 by François Rousset, 11 days ago


https://gitlab.in2p3.fr/francois.rousset/spamm-ref


Browse source code at https://github.com/cran/spaMM


Authors: François Rousset [aut, cre, cph] (ORCID: , Jean-Baptiste Ferdy [aut, cph] , Alexandre Courtiol [aut] (ORCID:


Documentation:   PDF Manual  


CeCILL-2 license


Imports methods, stats, graphics, Matrix, proxy, Rcpp, nlme, nloptr, minqa, pbapply, cli, gmp, ROI, boot, geometry, numDeriv, backports, reformulas, matrixStats

Suggests MASS, maps, testthat, rcdd, foreach, future, future.apply, RANN, Infusion, IsoriX, blackbox, RSpectra, ROI.plugin.glpk, lme4, rsae, multilevel, agridat, fmesher, knitr, rmarkdown, tweedie, tweedieDistr

Enhances multcomp, RLRsim, lmerTest, emmeans

Linking to Rcpp, RcppEigen

System requirements: GNU Scientific Library (GSL)


Imported by Infusion, IsoriX, NCC, blackbox, inferference, spatialGE.

Suggested by DHARMa.


See at CRAN