Package: INLAspacetime 0.1.14.907

Elias Teixeira Krainski

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.907.tar.gz
INLAspacetime_0.1.14.907.zip(r-4.7-x86_64)INLAspacetime_0.1.14.907.zip(r-4.7-arm64)INLAspacetime_0.1.14.907.zip(r-4.6-x86_64)INLAspacetime_0.1.14.907.zip(r-4.6-arm64)INLAspacetime_0.1.14.907.zip(r-4.5-x86_64)
INLAspacetime_0.1.14.907.tgz(r-4.6-x86_64)INLAspacetime_0.1.14.907.tgz(r-4.6-arm64)INLAspacetime_0.1.14.907.tgz(r-4.5-x86_64)INLAspacetime_0.1.14.907.tgz(r-4.5-arm64)
INLAspacetime_0.1.14.907.tar.gz(r-4.7-arm64)INLAspacetime_0.1.14.907.tar.gz(r-4.7-x86_64)INLAspacetime_0.1.14.907.tar.gz(r-4.6-arm64)INLAspacetime_0.1.14.907.tar.gz(r-4.6-x86_64)
INLAspacetime_0.1.14.907.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
INLAspacetime/json (API)

# Install 'INLAspacetime' in R:
install.packages('INLAspacetime', repos = c('https://inlabru-org.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.77 score 9 stars 106 scripts 2.4k downloads 26 exports 34 dependencies

Last updated from:203568f161. Checks:15 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK172
linux-devel-x86_64OK202
source / vignettesOK314
linux-release-arm64OK174
linux-release-x86_64OK197
macos-release-arm64OK141
macos-release-x86_64OK257
macos-oldrel-arm64OK121
macos-oldrel-x86_64OK399
windows-devel-arm64OK231
windows-devel-x86_64OK164
windows-release-arm64OK223
windows-release-x86_64OK117
windows-oldrel-x86_64OK178
wasm-releaseOK194

Exports:ar2covar2precisionbarrier_mesh_centroidsbarrierModel.definecgeneric_sspdecollect2fem.barrierdownloadUtilFilesEarth_polygammas2paramsghcndSelectINLAspacetimeJmatricesmesh.dualmesh2dmesh2femmesh2fem.barriermesh2projectorparams2gammasspde2precisionstlinesstModel.definestModel.matricesstModel.precisionstpointsworld_gridworldMap

Dependencies:classclassIntcliDBIdplyre1071fmeshergenericsglueinlabruINLAtoolsKernSmoothlatticelifecyclemagrittrMatrixMatrixModelspillarpkgconfigproxyR6Rcpprlangs2sfspsplancstibbletidyselectunitsutf8vctrswithrwk

The SPDE model with transparent barriers
The transparent barrier model | Implementation | References

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

Vignettes on the INLAspacetime website
Vignettes

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.barrier_mesh_centroids collect2fem.barrier 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 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