Package: spaMM
Type: Package
Title: Mixed-Effect Models, with or without Spatial Random Effects
Encoding: UTF-8
Version: 4.6.1
Date: 2025-06-27
Authors@R: c(person("François", "Rousset", role = c("aut", "cre", "cph"),
                     email = "francois.rousset@umontpellier.fr",
                     comment = c(ORCID = "0000-0003-4670-0371")),
              person("Jean-Baptiste", "Ferdy", role = c("aut","cph")),
              person("Alexandre", "Courtiol", role = "aut",
                     comment = c(ORCID = "0000-0003-0637-2959"))
              )
Maintainer: François Rousset <francois.rousset@umontpellier.fr>
Imports: methods, stats, graphics, Matrix, MASS, proxy, Rcpp (>=
        0.12.10), nlme, nloptr, minqa, pbapply, cli, gmp (>= 0.6.0),
        ROI, boot, geometry (>= 0.4.0), numDeriv, backports, reformulas
LinkingTo: Rcpp, RcppEigen (>= 0.3.3.5.0)
Depends: R (>= 3.5.0)
Suggests: maps, testthat, rcdd, foreach, future, future.apply, RANN,
        Infusion (>= 1.3.0), IsoriX (>= 0.8.1), blackbox (>= 1.1.25),
        RSpectra, ROI.plugin.glpk, lme4, rsae, multilevel, agridat,
        fmesher
Enhances: multcomp, RLRsim, lmerTest, emmeans
NeedsCompilation: yes
SystemRequirements: GNU Scientific Library (GSL)
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. 
License: CeCILL-2
URL: https://gitlab.mbb.univ-montp2.fr/francois/spamm-ref
RoxygenNote: 7.1.2
ByteCompile: true
Packaged: 2025-06-27 09:49:20 UTC; francois.rousset
Author: François Rousset [aut, cre, cph] (ORCID:
    <https://orcid.org/0000-0003-4670-0371>),
  Jean-Baptiste Ferdy [aut, cph],
  Alexandre Courtiol [aut] (ORCID:
    <https://orcid.org/0000-0003-0637-2959>)
Repository: CRAN
Date/Publication: 2025-06-27 12:30:02 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2026-01-31 04:19:43 UTC; windows
Archs: x64
