Learn R Programming

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

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-2

License

GPL-3

Maintainer

Virgilio Gf3mez-Rubio

Last Published

January 31st, 2021

Functions in INLAMSM (0.2-2)

inla.MCAR.transform

Transform hyperparameters in multivarite spatial models.
inla.rgeneric.MCAR.model

\(MCAR(\alpha, \Lambda)\): Proper multivariate CAR latent effect with a common autorcorrelation parameter.
inla.rgeneric.IMCAR.model

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

Adjacency matrix of municipalities in Comunidad Valenciana (Spain)
inla.rgeneric.indep.MCAR.model

\(MCAR(\alpha, \Lambda)\): Proper 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.indep.IMCAR.model

\(MCAR(1, \Lambda)\): Intrinsic multivariate CAR latent effect without correlation parameters.
CV

Multivariate mortality data from Comunidad Valenciana (Spain)