spaMM4.5.0 package

Mixed-Effect Models, with or without Spatial Random Effects

corr_family

corr_family objects

AIC

Extractors for information criteria such as AIC

corrFamily-definition

corrFamily definition

drop1.HLfit

Drop all possible single fixed-effect terms from a model

eval_replicate

Evaluating bootstrap replicates

fixed

Fixing some parameters

get_cPredVar

Estimation of prediction variance with bootstrap correction

get_fittedPars

Operations on lists of parameters

is_separated

Checking for (quasi-)separation in binomial-response model.

negbin1

Alternative negative-binomial family

numInfo

Information matrix

options

spaMM options settings

pedigree

Fit mixed-effects models incorporating pedigrees

phi-resid.model

Residual dispersion model for gaussian and Gamma response

plot.HL

Model checking plots for mixed models

simulate

Simulate realizations of a fitted model.

betabin

Beta-binomial family object

algebra

Control of matrix-algebraic methods

anova.HLfit

ANOVA tables, and likelihood ratio tests of fixed and random effects.

ARp

Random effect with AR(p) (autoregressive of order p) or ARMA(p,q) stru...

as_LMLT

Conversion to input for procedures from lmerTest package

autoregressive

Fitting autoregressive models

beta_resp

Beta-response family object

CauchyCorr

Cauchy correlation function and Cauchy formula term

COMPoisson

Conway-Maxwell-Poisson (COM-Poisson) GLM family

composite_ranef

Composite random effects

confint

Confidence intervals

control.HLfit

Control parameters of the HLfit fitting algorithm

convergence

Assessing convergence for fitted models

corMatern

Matern Correlation Structure as a corSpatial object

corrFamily-design

Designing new corrFamily descriptors for parametric correlation famili...

corrFamily

Using corrFamily constructors and descriptors.

corrHLfit

Fits a mixed model, typically a spatial GLMM.

corrMatrix

Using a corrMatrix argument

covStruct

Specifying correlation structures

dopar

Interface for parallel computations

diallel

Random-effect structures for diallel experiments and other dyadic inte...

diallel_fixed

Fixed-effect terms for dyadic interactions

div_info

Information about numerical problems

DoF

Degrees of freedom extractor

dofuture

Interface for parallel computations

extractors

Functions to extract various components of a fit.

extreme_eig

Utilities for regularization of a matrix

fitme

Fitting function for fixed- and mixed-effect models with GLM response.

fitmv

Fitting multivariate responses

fix_predVar

Prediction from models with nearly-singular covariance matrices

fixed.LRT

Likelihood ratio test of fixed effects.

get_inits_from_fit

Initiate a fit from another fit

get_matrix

Extract matrices from a fit

get_RLRSim_args

Extractors of arguments for functions from package RLRsim

GLM.fit

Fitting generalized linear models without initial-value or divergence ...

good-practice

Clear and trustworthy formulas and prior weights

hatvalues.HLfit

Leverage extractor for HLfit objects

HLCor

Fits a (spatially) correlated mixed model, for given correlation param...

mat_sqrt

Computation of square root of symmetric positive definite matrix

HLfit

Fit mixed models with given correlation matrix

how

Extract information about how an object was obtained

IMRF

Interpolated Markov Random Field models

inits

Controlling optimization strategy through initial values

inverse.Gamma

Distribution families for Gamma and inverse Gamma-distributed random e...

lev2bool

Conversion of factor to 0/1 variable

libraries

Installing external libraries

llm.fit

Link-linear regression models (LLMs)

make.scaled.dist

Scaled distances between unique locations

mapMM

Colorful plots of predictions in two-dimensional space.

MaternCorr

Matern correlation function and Matern formula term.

MaternIMRF

corrFamily constructor for Interpolated Markov Random Field (IMRF) cov...

method

Fitting methods (objective functions maximized)

MSFDR

Multiple-Stage False Discovery Rate procedure

multinomial

Analyzing multinomial data

mv

Virtual factor for multivariate responses

negbin

Family function for negative binomial 2 response (including truncated ...

plot_effect

Partial-dependence effects and plots

PLS-internals

Internal functions for procedure using the ((I,0),(Z,X)) block-order

poisson

Family function for GLMs and mixed models with Poisson and zero-trunca...

post-fit

Applying post-fit procedures on spaMM results

predict

Prediction from a model fit

predVar

Prediction and response variances

R2

Pseudo R-squared

setNbThreads

Parallel computations in fits

random-effects

Structure of random effects

rankinfo

Checking the rank of the fixed-effects design matrix

register_cF

Declare corrFamily constructor for use in formula

resid.model

Structured dispersion models

residuals.HLfit

Extract model residuals

residVar

Residual variance extractor

spaMM-conventions

spaMM conventions and differences from related fitting procedures

spaMM-internal

Internal spaMM Functions

spaMM-S3

S3 methods of generics defined in other packages

spaMM.filled.contour

Level (Contour) Plots with better aspect ratio control (for geographic...

spaMM

Inference in mixed models, in particular spatial GLMMs

spaMM_boot

Parametric bootstrap

spaMMcolors

A flashy color palette.

WinterWheat

Example of yield stability analysis

stripHLfit

Reduce the size of fitted objects

summary.HL

Summary and print methods for fit and test results.

update

Updates a fit

vcov

Extract covariance or correlation components from a fitted model objec...

verbose

Tracking progress of fits

wrap_parallel

Selecting interfaces for parallelisation

ZAXlist

S4 classes for structured matrices

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.

  • Maintainer: François Rousset
  • License: CeCILL-2
  • Last published: 2024-06-09