gamlss.spatial-package: Spatial Terms in Generalized Additive Models for Location...

Description Details Author(s) References Examples


It allows us to fit Gaussian Markov Random Field within the Generalized Additive Models for Location Scale and Shape algorithms.


The DESCRIPTION file: This package was not yet installed at build time.

Index: This package was not yet installed at build time.


Fernanda De Bastiani [aut, cre, cph], Mikis Stasinopoulos [aut], Robert Rigby [aut]

Maintainer: Fernanda De Bastiani <>


Rigby, R. A. and Stasinopoulos D. M. (2005). Generalized additive models for location, scale and shape,(with discussion), Appl. Statist., 54, part 3, pp 507-554. Rue and Held (2005) Gaussian markov random fields: theory and applications, Chapman & Hall, USA.

Stasinopoulos D. M., Rigby R.A. and Akantziliotou C. (2006) Instructions on how to use the GAMLSS package in R. Accompanying documentation in the current GAMLSS help files, (see also

Stasinopoulos D. M. Rigby R.A. (2007) Generalized additive models for location scale and shape (GAMLSS) in R. Journal of Statistical Software, Vol. 23, Issue 7, Dec 2007,


m1 <- MRFA(columb$crime, columb$district, polys=columb.polys)
draw.polys(columb.polys, m1) 

Example output

Loading required package: gamlss.dist
Loading required package: MASS
Loading required package: gamlss
Loading required package: splines
Loading required package:
Loading required package: nlme
Loading required package: parallel
 **********   GAMLSS Version 5.0-2  ********** 
For more on GAMLSS look at
Type gamlssNews() to see new features/changes/bug fixes.

Loading required package: gamlss.add
Loading required package: mgcv
This is mgcv 1.8-20. For overview type 'help("mgcv-package")'.
Loading required package: nnet

Attaching package: 'nnet'

The following object is masked from 'package:mgcv':


Loading required package: rpart
Loading required package: spam
Loading required package: dotCall64
Loading required package: grid
Spam version 2.1-1 (2017-07-02) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

The following objects are masked from 'package:base':

    backsolve, forwardsolve

gamlss.spatial documentation built on May 2, 2019, 2:16 a.m.