Skip to contents

rSPDE package

rSPDE
Rational approximations of fractional SPDEs.

rSPDE models

rspde.matern()
Matern rSPDE model object for INLA
rspde.metric_graph()
Matern rSPDE model object for metric graphs in INLA
matern.operators()
Rational approximations of stationary Gaussian Matern random fields
spde.matern.operators()
Rational approximations of non-stationary Gaussian SPDE Matern random fields
fractional.operators()
Rational approximations of fractional operators

Log-likelihood

rSPDE.matern.loglike()
Object-based log-likelihood function for latent Gaussian fractional SPDE model using the rational approximations
rSPDE.loglike()
Object-based log-likelihood function for latent Gaussian fractional SPDE model
matern.loglike()
Parameter-based log-likelihood for a latent Gaussian Matern model using a rational SPDE approximation
spde.matern.loglike()
Parameter-based log-likelihood for a latent Gaussian Matern SPDE model using a rational SPDE approximation
rSPDE.construct.matern.loglike()
Constructor of Matern loglikelihood functions.

Computation of precision matrices

rspde.matern.precision()
Precision matrix of the covariance-based rational approximation of stationary Gaussian Matern random fields
rspde.matern.precision.integer()
Precision matrix of stationary Gaussian Matern random fields with integer covariance exponent

Methods for rSPDE and CBrSPDE objects

predict(<rSPDEobj>)
Prediction of a fractional SPDE using a rational SPDE approximation
simulate(<rSPDEobj>)
Simulation of a fractional SPDE using a rational SPDE approximation
summary(<rSPDEobj>) print(<summary.rSPDEobj>) print(<rSPDEobj>)
Summarise rSPDE objects
update(<rSPDEobj>)
Update parameters of rSPDEobj objects
predict(<CBrSPDEobj>)
Prediction of a fractional SPDE using the covariance-based rational SPDE approximation
simulate(<CBrSPDEobj>)
Simulation of a fractional SPDE using the covariance-based rational SPDE approximation
summary(<CBrSPDEobj>) print(<summary.CBrSPDEobj>) print(<CBrSPDEobj>)
Summarise CBrSPDE objects
update(<CBrSPDEobj>)
Update parameters of CBrSPDEobj objects
precision()
Get the precision matrix of CBrSPDEobj objects

Functions and methods for R-INLA rSPDE objects

rspde.make.A()
Observation/prediction matrices for rSPDE models.
rspde.make.index()
rSPDE model index vector generation
rspde.mesh.project() rspde.mesh.projector()
Calculate a lattice projection to/from an inla.mesh for rSPDE objects
rspde.precision()
Precision matrices for inla_rspde objects
rspde.result()
rSPDE result extraction from INLA estimation results
plot(<rspde_result>)
Posterior plots for field parameters for an inla_rspde model from a rspde_result object
summary(<rspde_result>)
Summary for posteriors of field parameters for an inla_rspde model from a rspde_result object
gg_df()
Data frame for result objects from R-INLA fitted models to be used in ggplot2
gg_df(<rspde_result>)
Data frame for rspde_result objects to be used in ggplot2

Functions and methods for rSPDE interface for inlabru

rSPDE.A1d()
Observation matrix for finite element discretization on R
rSPDE.fem1d()
Finite element calculations for problems on R

Auxiliary functions

get.inital.values.rSPDE()
Initial values for log-likelihood optimization in rSPDE models with a latent stationary Gaussian Matern model
require.nowarnings()
Warnings free loading of add-on packages
matern.covariance()
The Matern covariance function
folded.matern.covariance.1d()
The 1d folded Matern covariance function
folded.matern.covariance.2d()
The 2d folded Matern covariance function
rspde.matern.precision.opt()
Optimized precision matrix of the covariance-based rational approximation
rspde.matern.precision.integer.opt()
Optimized precision matrix of stationary Gaussian Matern random fields with integer covariance exponent
`rational.order<-`()
Changing the order of the rational approximation
`rational.type<-`()
Changing the type of the rational approximation
rational.order()
Get the order of rational approximation.
rational.type()
Get type of rational approximation.

Operator operations