Package: INLAspacetime 0.1.9

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. (2023) <https://www.idescat.cat/sort/sort481/48.1.1.Lindgren-etal.pdf>. 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.9.tar.gz
INLAspacetime_0.1.9.zip(r-4.5)INLAspacetime_0.1.9.zip(r-4.4)INLAspacetime_0.1.9.zip(r-4.3)
INLAspacetime_0.1.9.tgz(r-4.4-x86_64)INLAspacetime_0.1.9.tgz(r-4.4-arm64)INLAspacetime_0.1.9.tgz(r-4.3-x86_64)INLAspacetime_0.1.9.tgz(r-4.3-arm64)
INLAspacetime_0.1.9.tar.gz(r-4.5-noble)INLAspacetime_0.1.9.tar.gz(r-4.4-noble)
INLAspacetime_0.1.9.tgz(r-4.4-emscripten)INLAspacetime_0.1.9.tgz(r-4.3-emscripten)
INLAspacetime.pdf |INLAspacetime.html
INLAspacetime/json (API)

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

Peer review:

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

Uses libs:
  • openblas– Optimized BLAS

On CRAN:

26 exports 3 stars 1.85 score 33 dependencies 35 scripts 1.9k downloads

Last updated 20 days agofrom:7d2daca2d8. Checks:OK: 6 NOTE: 3. Indexed: no.

TargetResultDate
Doc / VignettesOKAug 19 2024
R-4.5-win-x86_64NOTEAug 19 2024
R-4.5-linux-x86_64NOTEAug 19 2024
R-4.4-win-x86_64OKAug 19 2024
R-4.4-mac-x86_64OKAug 19 2024
R-4.4-mac-aarch64OKAug 19 2024
R-4.3-win-x86_64NOTEAug 19 2024
R-4.3-mac-x86_64OKAug 19 2024
R-4.3-mac-aarch64OKAug 19 2024

Exports:ar2covar2precisionbarrierModel.definecWhittleMaterndownloadUtilFilesEarth_polygammas2paramsghcndSelectINLAspacetimeJmatricesmesh.dualmesh2dmesh2femmesh2fem.barriermesh2projectorparams2gammasspde2precisionstats.inlastlinesstModel.definestModel.matricesstModel.precisionstpointsupperPaddingworld_gridworldMap

Dependencies:classclassIntcliDBIdplyre1071fansifmeshergenericsglueKernSmoothlatticelifecyclemagrittrMASSMatrixpillarpkgconfigproxyR6Rcpprlangs2sfspterratibbletidyselectunitsutf8vctrswithrwk

Vignettes on the INLAspacetime website

Rendered fromwebsite_examples.Rmdusingknitr::rmarkdownon Aug 19 2024.

Last update: 2023-08-01
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 an 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
Computes the Whittle-Matern correlation function.cWhittleMatern
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
Functions to help converting from/to user/internal parametrization. The internal parameters are 'gamma_s, 'gamma_t', 'gamma_E' The user parameters are 'r_s', 'r_t', 'sigma'gammas2params 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
Prepare a matrix or a list of matrices for use in some 'cgeneric' code.upperPadding
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