Package: INLAtools
Type: Package
Title: Functionalities for the 'INLA' Package
Version: 0.0.7
Maintainer: Elias Teixeira Krainski <eliaskrainski@gmail.com>
Authors@R: c(
 person(given = c("Elias"),
        family = "Teixeira Krainski",
        email = "eliaskrainski@gmail.com",
        role = c("cre", "aut", "cph"),
        comment = c(ORCID = "0000-0002-7063-2615")),
 person("Finn", "Lindgren", email = "finn.lindgren@gmail.com",
        role = c("aut"),
        comment = c(ORCID = "0000-0002-5833-2011")),
 person(given = "Haavard",
        family = "Rue’",
        role = "aut",
        comment = c(ORCID = "0000-0002-0222-1881"))
        )
Description: 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. 
  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 was used in 
  Sterrantino et. al. (2024) <doi:10.1007/s10260-025-00788-y>,
  and can be used to build the spatio-temporal intrinsic interaction 
  models for what the needed constraints are automatically set.
URL: https://github.com/eliaskrainski/INLAtools
BugReports: https://github.com/eliaskrainski/INLAtools/issues
Additional_repositories: https://inla.r-inla-download.org/R/testing
License: GPL (>= 2)
Encoding: UTF-8
RoxygenNote: 7.3.3
NeedsCompilation: yes
Depends: R (>= 4.3), Matrix, inlabru
Imports: methods, utils
Suggests: ggplot2, INLA (>= 25.12.16)
Packaged: 2026-01-14 13:50:28 UTC; eliask
Author: Elias Teixeira Krainski [cre, aut, cph] (ORCID:
    <https://orcid.org/0000-0002-7063-2615>),
  Finn Lindgren [aut] (ORCID: <https://orcid.org/0000-0002-5833-2011>),
  Haavard Rue’ [aut] (ORCID: <https://orcid.org/0000-0002-0222-1881>)
Repository: CRAN
Date/Publication: 2026-01-14 14:40:02 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2026-01-16 00:55:21 UTC; windows
Archs: x64
