Skip to content

spaMM

Mixed-Effect Models, with or without Spatial Random Effects

v4.6.1 · Jun 27, 2025 · CeCILL-2

Description

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 <doi:10.1111/ecog.00566>), 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 <doi:10.1093/biomet/88.4.987>) are also implemented.

Downloads

4K

Last 30 days

1900th

4K

Last 90 days

4K

Last year

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 40.0Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  6.1Mb
  sub-directories of 1Mb or more:
    R      2.9Mb
    libs   1.8Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 39.3Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  34.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 40.0Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    libs  35.6Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  6.1Mb
  sub-directories of 1Mb or more:
    R      2.9Mb
    libs   1.8Mb

Reverse Dependencies (7)

suggests

Dependency Network

Dependencies Reverse dependencies Matrix MASS proxy Rcpp (>= 0.12.10) nlme nloptr minqa pbapply cli gmp ROI boot geometry numDeriv backports +1 more dependencies Infusion IsoriX NCC blackbox inferference spatialGE DHARMa spaMM

Version History

new 4.6.1 Mar 9, 2026