Learn R Programming

⚠️There's a newer version (4.5.0) of this package.Take me there.

spaMM (version 1.5.1)

Mixed Models, Particularly Spatial GLMMs

Description

Implements a collection of functions for inference in mixed models. It was developed in particular for GLMMs with spatial correlations, but also fits models with non-Gaussian random effects (e.g., Beta Binomial, or negative-binomial mixed models). Heteroskedasticity can further be fitted by a linear model. The algorithms are currently various Laplace approximations methods for ML or REML, in particular h-likelihood and penalized-likelihood methods.

Copy Link

Version

Install

install.packages('spaMM')

Monthly Downloads

1,913

Version

1.5.1

License

CeCILL-2

Maintainer

Franois Rousset

Last Published

February 22nd, 2015

Functions in spaMM (1.5.1)

update.HLfit

Updates an HLCor or HLfit fit
make.scaled.dist

Scaled Euclidean distances between unique locations
HLCor

Fits a (spatially) correlated mixed model, for given correlation parameters
corMatern

Matern Correlation Structure as a corSpatial object
spaMM.colors

A flashy color palette.
wafers

Data from a resistivity experiment for semiconductor materials.
simulate.HLfit

Simulate realizations of a fitted mixed model.
fixedLRT

Likelihood ratio test of fixed effects.
arabidopsis

Arabidopsis genetic and climatic data
multinomial

Analyzing multinomial data
LRT

Likelihood ratio test of fixed effects.
spaMM.filled.contour

Level (Contour) Plots with better aspect ratio control (for geographical maps, at least)
seaMask

Masks of seas or lands
Predictor

Interface for model formulas
scotlip

Lip cancer in Scotland 1975 - 1980
spaMM-Rcpp-internal

Internal spaMM Functions using Rcpp/RcppEigen
salamander

Salamander mating data
spaMM-internal-migraineLike

Internal spaMM Functions
plot.HLfit

Model checking plots for mixed models
welding

Welding data set
extractors

Functions to extract various components of a fit
confint.HLfit

Confidence intervals for fixed-effect parameters.
summary.HLfit

Summary and print methods for fit and test results.
spaMM-internal

Internal spaMM Functions
HLfit

Fit mixed models with given correlation matrix
options

spaMM options settings
blackcap

Genetic polymorphism in relation to migration in the blackcap
predict

Prediction from a model fit.
seeds

Seed germination data
mapMM

Colorful plots of predicted responses in two-dimensional space.
spaMM

Inference in spatial GLMMs (and other non-spatial mixed models)
corrHLfit

Fits a mixed model, typically a spatial GLMM.
Loaloa

Loa loa prevalence in North Cameroon, 1991-2001
designL.from.Corr

Computation of square root of correlation matrix
Matern.corr

Matern correlation function.