Contain code to work with a C struct, in short cgeneric, to define a Gaussian Markov random (GMRF) model. The cgeneric contain code to specify GMRF elements such as the graph and the precision matrix, and also the initial and prior for its parameters, useful for model inference. It can be accessed from a C program and is the recommended way to implement new GMRF models in the 'INLA' package (<https://www.r-inla.org>). The 'INLAtools' implement functions to evaluate each one of the model specifications from R. The implemented functionalities leverage the use of 'cgeneric' models and provide a way to debug the code as well to work with the prior for the model parameters and to sample from it. The 'generic0' can be used to implement intrinsic models with the scaling as proposed in Sørbye & Rue (2014) <doi:10.1016/j.spasta.2013.06.004>, and the required constraints. A very useful functionality is the Kronecker product method that creates a new model from multiple cgeneric models. It also works with the rgeneric, the R version of the cgeneric intended to easy try implementation of new GMRF models. The Kronecker between two cgeneric models where each one needs a constraint, such as spatio-temporal intrinsic interaction models, the needed constraints are automatically set.
| Version: | 0.1.4 |
| Depends: | Matrix, R (≥ 4.3) |
| Imports: | methods, utils |
| Published: | 2026-05-04 |
| DOI: | 10.32614/CRAN.package.INLAtools |
| Author: | Elias Teixeira Krainski
|
| Maintainer: | Elias Teixeira Krainski <elias.krainski at kaust.edu.sa> |
| BugReports: | https://github.com/eliaskrainski/INLAtools/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/eliaskrainski/INLAtools |
| NeedsCompilation: | yes |
| CRAN checks: | INLAtools results |
| Reference manual: | INLAtools.html , INLAtools.pdf |
| Package source: | INLAtools_0.1.4.tar.gz |
| Windows binaries: | r-devel: INLAtools_0.1.4.zip, r-release: INLAtools_0.1.4.zip, r-oldrel: INLAtools_0.1.4.zip |
| macOS binaries: | r-release (arm64): INLAtools_0.1.4.tgz, r-oldrel (arm64): INLAtools_0.1.4.tgz, r-release (x86_64): INLAtools_0.1.4.tgz, r-oldrel (x86_64): INLAtools_0.1.4.tgz |
| Old sources: | INLAtools archive |
| Reverse depends: | graphpcor |
| Reverse imports: | INLAspacetime |
Please use the canonical form https://CRAN.R-project.org/package=INLAtools to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.