Package: INLAtools 0.1.4.901

INLAtools: Functionalities for the 'INLA' Package

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.

Authors:Elias Teixeira Krainski [cre, aut, cph], Finn Lindgren [aut], Haavard Rue’ [aut]

INLAtools_0.1.4.901.tar.gz
INLAtools_0.1.4.901.zip(r-4.7)INLAtools_0.1.4.901.zip(r-4.6)INLAtools_0.1.4.901.zip(r-4.5)
INLAtools_0.1.4.901.tgz(r-4.6-x86_64)INLAtools_0.1.4.901.tgz(r-4.6-arm64)INLAtools_0.1.4.901.tgz(r-4.5-x86_64)INLAtools_0.1.4.901.tgz(r-4.5-arm64)
INLAtools_0.1.4.901.tar.gz(r-4.7-arm64)INLAtools_0.1.4.901.tar.gz(r-4.7-x86_64)INLAtools_0.1.4.901.tar.gz(r-4.6-arm64)INLAtools_0.1.4.901.tar.gz(r-4.6-x86_64)
INLAtools_0.1.4.901.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
INLAtools/json (API)
NEWS

# Install 'INLAtools' in R:
install.packages('INLAtools', repos = c('https://eliaskrainski.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/eliaskrainski/inlatools/issues

On CRAN:

Conda:

5.99 score 1 packages 91 scripts 2.8k downloads 26 exports 2 dependencies

Last updated from:20f061b2c5. Checks:11 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR113
linux-devel-x86_64ERROR121
source / vignettesOK139
linux-release-arm64ERROR133
linux-release-x86_64ERROR118
macos-release-arm64ERROR95
macos-release-x86_64ERROR316
macos-oldrel-arm64ERROR101
macos-oldrel-x86_64ERROR204
windows-develERROR111
windows-releaseERROR92
windows-oldrelERROR112
wasm-releaseOK89

Exports:cgenericcgeneric_generic0cgeneric_graphcgeneric_iidcgeneric_initialcgeneric_mucgeneric_priorcgeneric_Qcgeneric_shlib_pathcgenericBuilderfindGetFunctioninlaQis.zeromulti_generic_modelpackageCheckpclrangepcParamCheckpcrangergenericrgeneric_graphrgeneric_initialrgeneric_murgeneric_priorrgeneric_QSparseupperPadding

Dependencies:latticeMatrix

Readme and manuals

Help Manual

Help pageTopics
Build a 'cgeneric' object for a 'generic0' model.cgeneric_generic0 cgeneric_iid
'cgeneric_get' is an internal function used to query 'graph', 'Q', 'initial', 'mu' or 'log_prior' from a 'cgeneric' model.cgeneric_get cgeneric_graph cgeneric_initial cgeneric_mu cgeneric_prior cgeneric_Q
Organize data for the latent GMRF C interface for 'INLA'.cgeneric cgeneric-class cgeneric.cgeneric cgeneric.character cgeneric.function cgeneric.inla.cgeneric cgenericBuilder cgeneric_shlib_path mapper1 plot.cgeneric print.cgeneric summary.cgeneric
Kronecker (product) between 'extraconstr', implemented for 'kronecker()' methods.extraconstr kronecker_extraconstr
Search a function and retrieve it.findGetFunction
Define the method to extract the precision from an inla output object.inlaQ
Define the is.zero methodis.zero is.zero.default is.zero.Matrix is.zero.matrix
Kronecker between 'cgeneric'|'rgeneric' to implement interaction between GMRF models.kronecker kronecker,cgeneric,cgeneric-method kronecker,cgeneric,rgeneric-method kronecker,rgeneric,cgeneric-method kronecker,rgeneric,rgeneric-method
Combine two or more 'cgeneric' or 'rgeneric' modelsmulti_generic_model multi_generic_model_mapper
To check package version and loadpackageCheck
Internal functions to check PC-prior parameters.pc-utils pclrange pcParamCheck pcrange
'rgeneric_get' is an internal function used to query 'graph', 'Q', 'initial', 'mu' or 'prior' from a 'rgeneric'.rgeneric_get rgeneric_graph rgeneric_initial rgeneric_mu rgeneric_prior rgeneric_Q
Organize data for the latent GMRF R interface for 'INLA'.plot.rgeneric print.rgeneric rgeneric rgeneric-class rgeneric.default rgeneric.inla.rgeneric rgeneric.rgeneric summary.rgeneric
To store in i,j,x sparse matrix formatSparse
Padding (a list of) sparse matrices.upperPadding