Other packages > Find by keyword >

spaMM  

Mixed-Effect Models, with or without Spatial Random Effects
View on CRAN: Click here


Download and install spaMM package within the R console
Install from CRAN:
install.packages("spaMM")

Install from Github:
library("remotes")
install_github("cran/spaMM")

Install by package version:
library("remotes")
install_version("spaMM", "4.6.1")



Attach the package and use:
library("spaMM")
Maintained by
François Rousset
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2013-12-15
Latest Update: 2025-06-27
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 restrictedlikelihood. 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.
How to cite:
François Rousset (2013). spaMM: Mixed-Effect Models, with or without Spatial Random Effects. R package version 4.6.1, https://cran.r-project.org/web/packages/spaMM. Accessed 26 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:06), 1.0 (2013-12-15 11:24), 1.1 (2014-01-17 06:22), 1.2.0 (2014-06-25 07:14), 1.3.0 (2014-09-10 00:24), 1.4.0 (2014-11-08 01:59), 1.4.1 (2014-11-09 00:46), 1.5.1 (2015-02-23 00:33), 1.6.2 (2015-11-01 18:00), 1.7.1 (2016-01-21 17:57), 1.7.2 (2016-01-26 00:11), 1.8.0 (2016-04-08 11:14), 1.9.0.1 (2016-07-10 12:00), 1.9.0 (2016-05-24 09:58), 1.9.16 (2016-07-22 01:18), 1.10.0 (2016-09-05 04:17), 2.0.0 (2017-04-07 00:05), 2.1.0 (2017-05-26 00:14), 2.1.6 (2017-07-07 07:44), 2.2.0 (2017-10-03 22:00), 2.3.0 (2018-01-18 18:53), 2.4.0 (2018-04-05 19:16), 2.4.8 (2018-04-14 12:33), 2.4.35 (2018-05-19 23:02), 2.5.0 (2018-09-28 14:00), 2.5.11 (2018-11-19 23:40), 2.6.0 (2019-01-10 15:40), 2.6.1 (2019-01-14 09:40), 2.7.1 (2019-04-14 06:32), 3.0.0 (2019-06-21 10:00), 3.1.2 (2020-02-12 17:00), 3.1.27 (2020-03-10 23:20), 3.2.0 (2020-04-20 08:40), 3.3.0 (2020-05-30 07:10), 3.4.1 (2020-08-11 21:20), 3.5.0 (2020-10-03 07:50), 3.6.0 (2021-01-15 07:10), 3.7.2 (2021-02-26 16:00), 3.7.34 (2021-04-07 11:40), 3.8.0 (2021-06-02 06:40), 3.8.9 (2021-06-28 07:00), 3.8.23 (2021-08-05 15:20), 3.9.0 (2021-09-13 22:20), 3.9.13 (2021-10-02 22:40), 3.9.25 (2021-11-09 10:00), 3.10.0 (2022-02-07 04:30), 3.11.3 (2022-03-23 23:40), 3.11.14 (2022-04-10 01:30), 3.12.0 (2022-06-19 04:20), 3.13.0 (2022-09-05 20:10), 4.0.0 (2022-10-20 20:40), 4.1.0 (2022-11-18 15:40), 4.1.20 (2022-12-12 13:50), 4.2.1 (2023-03-03 16:20), 4.3.0 (2023-05-22 12:20), 4.3.20 (2023-07-06 13:30), 4.4.0 (2023-08-30 01:00), 4.4.16 (2023-12-20 14:50), 4.5.0 (2024-06-10 00:20), 4.6.1 (2025-06-27 14:30)
Other packages that cited spaMM R package
View spaMM citation profile
Other R packages that spaMM depends, imports, suggests or enhances
Complete documentation for spaMM
Functions, R codes and Examples using the spaMM R package
Some associated functions: AIC . ARp . COMPoisson . CauchyCorr . DoF . GLM.fit . Gryphon . HLCor . HLfit . IMRF . Leuca . Loaloa . MSFDR . MaternCorr . MaternIMRF . PLS-internals . R2 . WinterWheat . ZAXlist . adjlg . algebra . anova.HLfit . arabidopsis . as_LMLT . autoregressive . beta_resp . betabin . blackcap . clinics . composite_ranef . confint . control.HLfit . convergence . corMatern . corrFamily-definition . corrFamily-design . corrFamily . corrHLfit . corrMatrix . corr_family . covStruct . diallel . diallel_fixed . div_info . dofuture . dopar . drop1.HLfit . eval_replicate . extractors . extreme_eig . fitme . fitmv . fix_predVar . fixed.LRT . fixed . freight . get_RLRSim_args . get_cPredVar . get_fittedPars . get_inits_from_fit . get_matrix . good-practice . hatvalues.HLfit . how . inits . inverse.Gamma . is_separated . lev2bool . libraries . llm.fit . make.scaled.dist . mapMM . mat_sqrt . method . multinomial . mv . negbin . negbin1 . numInfo . options . pedigree . phi-resid.model . plot.HL . plot_effect . poisson . post-fit . predVar . predict . random-effects . rankinfo . register_cF . resid.model . residVar . residuals.HLfit . salamander . scotlip . seaMask . seeds . setNbThreads . simulate . spaMM-S3 . spaMM-conventions . spaMM-internal . spaMM.filled.contour . spaMM . spaMM_boot . spaMMcolors . stripHLfit . summary.HL . update . vcov . verbose . wafers . welding . wrap_parallel . 
Some associated R codes: Beta.R . COMPoisson.R . CanonizeRanPars.R . GLM.fit.R . HLCor.R . HLCor_body.R . HLFactorList.R . HLfit.R . HLfit_Internals.R . HLfit_b_internals.R . HLfit_body.R . HLfit_body_NOT_loopenv.R . HLfit_body_augZXy.R . HLfit_loop.R . HLframes.R . IRLS_internals.R . LLM.R . LMLTslots.R . LR.R . LevM_internals.R . LevM_v_h.R . LevM_v_h_spprec.R . LevenbergMstep.R . MakeCovEst.R . Matern_family.R . RcppExports.R . SEM.R . X.GCA.R . ZAL_class.R . antisym.R . augZXy_obj.R . betabin.R . betaresp.R . bloc_lambda.R . calc_LRT.R . calc_logdisp_cov.R . combinepar.R . confint.R . constructors_IMRFs.R . corMatern.R . corrFamilies.R . corrFamily.R . corrHLfit-internals.R . corrHLfit.R . corrHLfit_body.R . corrMM.LRT.R . corrPars.R . correlationFns.R . cov_new_fix.R . determine_spprec.R . dispGammaGLM.R . dofuture.R . drop1.R . expandSlash.R . extractors.R . fam2LLfam.R . fit_as_ZX.R . fit_as_sparsePrecision.R . fitme.R . fitme_body.R . fitme_fitmv_internals.R . fitmecorrHLfit_body_internals.R . fitmv_body.R . fitmv_internals.R . generateName.R . geo_info.R . get_cPredVar.R . get_inits_by_glm.R . glm.nodev.fit.R . glm.reformat.R . hatvalues.R . inverse.Gamma.R . llm.fit.R . locoptim.R . makeLowerUpper.R . mapMM.R . multiFRK.R . multinomial.R . negbin1.R . negbin2.R . newPLS.R . numInfo.R . plot.HLfit.R . plot_effects.R . poisson.R . postfit_internals.R . precision_internals.R . predict.R . predict_marg.R . predict_mv.R . predictor.R . preprocess.R . preprocess_MV.R . preprocess_internals.R . profile.R . sXaug_EigenDense_QRP_Chol_scaled.R . sXaug_Matrix_CHM_Hess.R . sXaug_Matrix_QRP_CHM.R . sXaug_sparsePrecisions.R . safe_opt.R . save.R . separator.R . simulate.HL.R . spaMM.data.R . spaMM_boot.R . spaMM_error.R . sparseX.R . step_HLfit.R . summary.HL.R . terms.R . update.HL.R . utils.R .  Full spaMM package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

SelvarMix  
Regularization for Variable Selection in Model-Based Clustering and Discriminant Analysis
Performs a regularization approach to variable selection in themodel-based clustering and classifica ...
Download / Learn more Package Citations See dependency  
leafgl  
High-Performance 'WebGl' Rendering for Package 'leaflet'
Provides bindings to the 'Leaflet.glify' JavaScript library which extends the 'leaflet' JavaScript l ...
Download / Learn more Package Citations See dependency  
clinUtils  
General Utility Functions for Analysis of Clinical Data
Utility functions to facilitate the import, the reporting and analysis of clinical data. Example ...
Download / Learn more Package Citations See dependency  
RCytoGPS  
Using Cytogenetics Data in R
Defines classes and methods to process text-based cytogenetics using the CytoGPS web site, then imp ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
ncodeR  
Techniques for Automated Classifiers
A set of techniques that can be used to develop, validate, and implement automated classifiers. A po ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA