Package: INLAspacetime 0.1.14.901

INLAspacetime: Spatial and Spatio-Temporal Models using 'INLA'

Prepare objects to implement models over spatial and spacetime domains with the 'INLA' package (<https://www.r-inla.org>). These objects contain data to for the 'cgeneric' interface in 'INLA', enabling fast parallel computations. We implemented the spatial barrier model, see Bakka et. al. (2019) <doi:10.1016/j.spasta.2019.01.002>, and some of the spatio-temporal models proposed in Lindgren et. al. (2024) <https://raco.cat/index.php/SORT/article/view/428665>. Details are provided in the available vignettes and from the URL bellow.

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

INLAspacetime_0.1.14.901.tar.gz
INLAspacetime_0.1.14.901.zip(r-4.7)INLAspacetime_0.1.14.901.zip(r-4.6)INLAspacetime_0.1.14.901.zip(r-4.5)
INLAspacetime_0.1.14.901.tgz(r-4.6-x86_64)INLAspacetime_0.1.14.901.tgz(r-4.6-arm64)INLAspacetime_0.1.14.901.tgz(r-4.5-x86_64)INLAspacetime_0.1.14.901.tgz(r-4.5-arm64)
INLAspacetime_0.1.14.901.tar.gz(r-4.7-arm64)INLAspacetime_0.1.14.901.tar.gz(r-4.7-x86_64)INLAspacetime_0.1.14.901.tar.gz(r-4.6-arm64)INLAspacetime_0.1.14.901.tar.gz(r-4.6-x86_64)
INLAspacetime_0.1.14.901.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
INLAspacetime/json (API)

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

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

Uses libs:
  • openblas– Optimized BLAS

On CRAN:

Conda:

openblas

7.57 score 8 stars 102 scripts 1.9k downloads 25 exports 35 dependencies

Last updated from:0d7cb34adf. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK174
linux-devel-x86_64OK186
source / vignettesOK276
linux-release-arm64OK192
linux-release-x86_64OK183
macos-release-arm64OK108
macos-release-x86_64OK244
macos-oldrel-arm64OK116
macos-oldrel-x86_64OK212
windows-develOK134
windows-releaseOK122
windows-oldrelOK119
wasm-releaseOK130

Exports:ar2covar2precisionbarrierModel.definecgeneric_sspdedownloadUtilFilesEarth_polygammas2paramsghcndSelectINLAspacetimeJmatricesmesh.dualmesh2dmesh2femmesh2fem.barriermesh2projectorparams2gammasspde2precisionstats.inlastlinesstModel.definestModel.matricesstModel.precisionstpointsworld_gridworldMap

Dependencies:classclassIntcliDBIdplyre1071fmeshergenericsglueinlabruINLAtoolsKernSmoothlatticelifecyclemagrittrMASSMatrixMatrixModelspillarpkgconfigproxyR6Rcpprlangs2sfspsplancstibbletidyselectunitsutf8vctrswithrwk

The SPDE model with transparent barriers

Rendered fromtransparent_barriers.Rmdusingknitr::rmarkdownon May 23 2026.

Last update: 2025-11-12
Started: 2024-10-03

Vignettes on the INLAspacetime website

Rendered fromwebsite_examples.Rmdusingknitr::rmarkdownon May 23 2026.

Last update: 2024-10-06
Started: 2023-04-17

Readme and manuals

Help Manual

Help pageTopics
Illustrative code to compute the covariance of the second order autoregression (AR2) model.ar2cov
Precision matrix for a stationary AR2 model.ar2precision
Define a spacetime model object for the 'f()' call.barrierModel.define
Mapper object for automatic inlabru interfacebru_get_mapper bru_get_mapper.stModel_cgeneric
Define the stationary SPDE cgeneric model for INLA.cgeneric_sspde
Download files from the NOAA's GHCN daily datadonwloadUtilFiles downloadUtilFiles
Function to define the boundary Earch polygon in longlat projection for a given resolution.Earth_poly
Select data from the daily datasetghcndSelect
Internal util functions for polygon properties.Area flatArea Heron s2trArea Stiffness
Spatial and Spatio-Temporal Models using INLAINLAspacetime
The 2nd order temporal matrices with boundary correctionJmatrices
Extracts the dual of a mesh object.mesh.dual
Illustrative code for building a mesh in 2d domain.mesh2d
Illustrative code for Finite Element matrices of a mesh in 2d domain.mesh2fem mesh2fem.barrier
Illustrative code to build the projector matrix for SPDE models.mesh2projector
Detect outliers in a time series considering the raw data and a smoothed version of it.outDetect
User/internal parameters mapping functionsgammas2params lgsConstant params2gammas paramsUtils
Illustrative code to build the precision matrix for SPDE kind models.spde2precision
To retrieve goodness of fit statistics for a specific model class.stats.inla
To check unusual low/high variance segmentsstdSubs
To visualize time series over space.stlines stpoints
Define a spacetime model object for the 'f()' call.stModel.define
Define the spacetime model matrices.stModel.matrices
Spacetime precision matrix.stModel.precision
Define a regular grid in 'Mollweide' projection, with units in kilometers.world_grid
Helper functions to retrieve the world map, a world polygon, and create grid centers.worldMap