Package: INLAspacetime 0.1.10

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.10.tar.gz
INLAspacetime_0.1.10.tar.gz(r-4.5-noble)INLAspacetime_0.1.10.tar.gz(r-4.4-noble)
INLAspacetime_0.1.10.tgz(r-4.4-emscripten)INLAspacetime_0.1.10.tgz(r-4.3-emscripten)
INLAspacetime.pdf |INLAspacetime.html
INLAspacetime/json (API)

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

Peer review:

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

Uses libs:
  • openblas– Optimized BLAS

4.59 score 58 scripts 2.2k downloads 26 exports 33 dependencies

Last updated 2 months agofrom:697423f489. Checks:OK: 1 WARNING: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-linux-x86_64WARNINGNov 16 2024

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

Dependencies:classclassIntcliDBIdplyre1071fansifmeshergenericsglueKernSmoothlatticelifecyclemagrittrMASSMatrixpillarpkgconfigproxyR6Rcpprlangs2sfspterratibbletidyselectunitsutf8vctrswithrwk

The SPDE model with transparent barriers

Rendered fromtransparent_barriers.Rmdusingknitr::rmarkdownon Nov 16 2024.

Last update: 2024-10-16
Started: 2024-10-16

Vignettes on the INLAspacetime website

Rendered fromwebsite_examples.Rmdusingknitr::rmarkdownon Nov 16 2024.

Last update: 2024-10-16
Started: 2023-04-19

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