Skip to contents

All functions

Earth_poly()
Function to define the boundary Earch polygon in longlat projection for a given resolution.
INLAspacetime()
Spatial and Spatio-Temporal Models using INLA
Jmatrices()
The 2nd order temporal matrices with boundary correction
stlines() stpoints()
To visualize time series over space.
ar2cov()
Illustrative code to compute the covariance of the second order autoregression (AR2) model.
ar2precision()
Precision matrix for an AR2 model.
barrierModel.define()
Define a spacetime model object for the f() call.
bru_get_mapper.stModel_cgeneric()
Mapper object for automatic inlabru interface
cWhittleMatern()
Computes the Whittle-Matern correlation function.
downloadUtilFiles()
Download files from the NOAA's GHCN daily data
ghcndSelect()
Select data from the daily dataset
mesh.dual()
Extracts the dual of a mesh object.
mesh2d()
Illustrative code for building a mesh in 2d domain.
mesh2fem() mesh2fem.barrier()
Illustrative code for Finite Element matrices of a mesh in 2d domain.
mesh2projector()
Illustrative code to build the projector matrix for SPDE models.
outDetect()
Detect outliers in a time series considering the raw data and a smoothed version of it.
lgsConstant() params2gammas() gammas2params()
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'
Heron() Area() s2trArea() flatArea() Stiffness()
Internal util functions for polygon properties.
spde2precision()
Illustrative code to build the precision matrix for SPDE kind models.
stModel.define()
Define a spacetime model object for the f() call.
stModel.matrices()
Define the spacetime model matrices.
stModel.precision()
Spacetime precision matrix.
stats.inla()
To retrieve goodness of fit statistics for a specific model class.
stdSubs()
To check unusual low/high variance segments
upperPadding()
Prepare a matrix or a list of matrices for use in some 'cgeneric' code.
worldMap()
Helper functions to retrieve the world map, a world polygon, and create grid centers.
world_grid()
Define a regular grid in 'Mollweide' projection, with units in kilometers.