Learn R Programming

Multivariate spatial models for lattice data with INLA

The INLAMSM package implements several multivariate spatial models for lattice data with INLA. Models implemented include multivariate instrisic CAR, multivariate proper CAR and the M-model.

The package can be installed as follows:

devtools::install_github("becarioprecario/INLAMSM")

A paper that describes the package can be found in the arXiv. R code to run all the examples can be found here.

Copy Link

Version

Install

install.packages('INLAMSM')

Monthly Downloads

18

Version

0.2-3

License

GPL-3

Maintainer

Virgilio Gf3mez-Rubio

Last Published

June 4th, 2021

Functions in INLAMSM (0.2-3)

inla.rgeneric.indep.MCAR.model

\(MCAR(\alpha, \Lambda)\): Proper multivariate CAR latent effect without correlation parameters.
inla.rgeneric.IMCAR.model

\(IMCAR(\Lambda)\): Intrinsic multivariate CAR latent effect.
CV.nb

Adjacency matrix of municipalities in Comunidad Valenciana (Spain)
inla.MCAR.transform

Transform hyperparameters in multivarite spatial models.
inla.rgeneric.indep.IMCAR.model

\(MCAR(1, \Lambda)\): Intrinsic multivariate CAR latent effect without correlation parameters.
inla.rgeneric.Mmodel.model

M-model: Proper multivariate CAR latent effect with a different spatial autorcorrelation parameter for each disease.
inla.rgeneric.MCAR.model

\(MCAR(\alpha, \Lambda)\): Proper multivariate CAR latent effect with a common autorcorrelation parameter.
CV

Multivariate mortality data from Comunidad Valenciana (Spain)