Package: INLAtools 0.1.5.908

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 required data to specify GMRF elements such as the graph and the precision matrix, as well hyper-parameters definition, such as initial values and the prior, which are 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>). We also provide access from R, useful for code debug and evaluate the prior for multiple parameter sets. The implemented functionalities leverage the use of 'cgeneric' models. In order to illustrate it, a model named `generic0` is included. It can be used to implement intrinsic models and scale it by default, as proposed in Sørbye & Rue (2014) <doi:10.1016/j.spasta.2013.06.004>, as well defining 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 before making it for production. The constraints of a Kronecker between two cgeneric models, such as spatio-temporal intrinsic interaction models, see Knorr-Held (2000) <doi:10.1002/1097-0258%2820000915/30%2919%3A17/18%3C2555%3A%3AAID-SIM587%3E3.0.CO%3B2-%23>, are automatically set, as shown in the example at <https://github.com/eliaskrainski/INLAtools>.

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

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

# 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

Uses libs:
  • openblas– Optimized BLAS

On CRAN:

Conda:

openblas

5.91 score 1 packages 73 scripts 2.9k downloads 28 exports 2 dependencies

Last updated from:17dab8549f. Checks:13 ERROR, 1 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR90
linux-devel-x86_64ERROR109
source / vignettesOK201
linux-release-arm64ERROR89
linux-release-x86_64ERROR106
macos-release-arm64ERROR92
macos-release-x86_64ERROR250
macos-oldrel-arm64ERROR113
macos-oldrel-x86_64ERROR336
windows-devel-arm64ERROR210
windows-devel-x86_64ERROR125
windows-release-arm64ERROR193
windows-release-x86_64ERROR90
windows-oldrel-x86_64ERROR87
wasm-releaseFAIL91

Exports:cgenericcgeneric_generic0cgeneric_graphcgeneric_iidcgeneric_initialcgeneric_mucgeneric_priorcgeneric_Qcgeneric_shlib_pathcgenericBuilderdata.expandfindGetFunctioninlaQis.zeromulti_generic_modelpackageCheckpclrangepcParamCheckpcrangergenericrgeneric_graphrgeneric_initialrgeneric_murgeneric_priorrgeneric_QSparsestats.inlaupperPadding

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
function to make Y: for multiple likelihood with INLAdata.expand
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
To retrieve goodness of fit statistics for a specific model class.stats.inla
Padding (a list of) sparse matrices.upperPadding