Package: rSPDE 2.3.3.9000

rSPDE: Rational Approximations of Fractional Stochastic Partial Differential Equations

Functions that compute rational approximations of fractional elliptic stochastic partial differential equations. The package also contains functions for common statistical usage of these approximations. The main references for rSPDE are Bolin, Simas and Xiong (2023) <doi:10.1080/10618600.2023.2231051> for the covariance-based method and Bolin and Kirchner (2020) <doi:10.1080/10618600.2019.1665537> for the operator-based rational approximation. These can be generated by the citation function in R.

Authors:David Bolin [cre, aut], Alexandre Simas [aut], Finn Lindgren [ctb]

rSPDE_2.3.3.9000.tar.gz
rSPDE_2.3.3.9000.zip(r-4.5)rSPDE_2.3.3.9000.zip(r-4.4)rSPDE_2.3.3.9000.zip(r-4.3)
rSPDE_2.3.3.9000.tgz(r-4.4-any)rSPDE_2.3.3.9000.tgz(r-4.3-any)
rSPDE_2.3.3.9000.tar.gz(r-4.5-noble)rSPDE_2.3.3.9000.tar.gz(r-4.4-noble)
rSPDE_2.3.3.9000.tgz(r-4.4-emscripten)rSPDE_2.3.3.9000.tgz(r-4.3-emscripten)
rSPDE.pdf |rSPDE.html
rSPDE/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/davidbolin/rspde/issues

On CRAN:

56 exports 10 stars 2.72 score 39 dependencies 2 dependents 166 scripts 554 downloads

Last updated 13 days agofrom:def6f27040. Checks:ERROR: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILSep 04 2024
R-4.5-winWARNINGSep 04 2024
R-4.5-linuxWARNINGSep 04 2024
R-4.4-winWARNINGSep 04 2024
R-4.4-macWARNINGSep 04 2024
R-4.3-winWARNINGSep 04 2024
R-4.3-macWARNINGSep 04 2024

Exports:augmentconstruct.spde.matern.loglikecreate_train_test_indicescross_validationfolded.matern.covariance.1dfolded.matern.covariance.2dfractional.operatorsget.initial.values.rSPDEgg_dfglancegraph_data_rspdegroup_predictintrinsic.matern.operatorsmatern.covariancematern.operatorsmatern.rationalmatern.rational.covPl.multPl.solvePr.multPr.solveprecisionQ.multQ.solveQsqrt.multQsqrt.solverational.orderrational.order<-rational.typerational.type<-require.nowarningsrspde_lmerSPDE.A1drSPDE.construct.matern.loglikerSPDE.fem1drSPDE.fem2drspde.intrinsic.maternrSPDE.loglikerspde.make.Arspde.make.indexrspde.maternrSPDE.matern.loglikerspde.matern.precisionrspde.matern.precision.integerrspde.matern.precision.integer.optrspde.matern.precision.optrspde.mesh.projectrspde.mesh.projectorrspde.metric_graphrspde.resultSigma.multSigma.solvespde.make.Aspde.matern.loglikespde.matern.operatorsvariogram.intrinsic.spde

Dependencies:backportsbroomclassclassIntclicpp11DBIdplyre1071fansifmeshergenericsglueKernSmoothlatticelifecyclemagrittrMASSMatrixpillarpkgconfigproxypurrrR6Rcpprlangs2sfspstringistringrtibbletidyrtidyselectunitsutf8vctrswithrwk

Readme and manuals

Help Manual

Help pageTopics
Rational approximations of fractional SPDEs.rSPDE-package rSPDE
Augment data with information from a 'rspde_lme' objectaugment augment.rspde_lme
rSPDE inlabru mapperbru_get_mapper.inla_rspde ibm_jacobian.bru_mapper_inla_rspde ibm_n.bru_mapper_inla_rspde ibm_values.bru_mapper_inla_rspde
Constructor of Matern loglikelihood functions for non-stationary models.construct.spde.matern.loglike
Create train and test splits to be used in the 'cross_validation' functioncreate_train_test_indices
Perform cross-validation on a list of fitted models.cross_validation
The 1d folded Matern covariance functionfolded.matern.covariance.1d
The 2d folded Matern covariance functionfolded.matern.covariance.2d
Rational approximations of fractional operatorsfractional.operators
Initial values for log-likelihood optimization in rSPDE models with a latent stationary Gaussian Matern modelget.initial.values.rSPDE
Data frame for result objects from R-INLA fitted models to be used in ggplot2gg_df
Data frame for rspde_result objects to be used in ggplot2gg_df.rspde_result
Glance at an 'rspde_lme' objectglance glance.rspde_lme
Data extraction from metric graphs for 'rSPDE' modelsgraph_data_rspde
Perform prediction on a testing set based on a training setgroup_predict
Covariance-based approximations of intrinsic fieldsintrinsic.matern.operators
The Matern covariance functionmatern.covariance
Rational approximations of stationary Gaussian Matern random fieldsmatern.operators
Rational approximation of the Matern fields on intervals and metric graphsmatern.rational
Rational approximation of the Matern covariancematern.rational.cov
Operations with the Pr and Pl operatorsoperator.operations Pl.mult Pl.solve Pr.mult Pr.solve Q.mult Q.solve Qsqrt.mult Qsqrt.solve Sigma.mult Sigma.solve
Get the precision matrix of CBrSPDEobj objectsprecision precision.CBrSPDEobj
Get the precision matrix of 'inla_rspde' objectsprecision.inla_rspde
Get the precision matrix of rSPDEobj1d objectsprecision.rSPDEobj1d
Prediction of a fractional SPDE using the covariance-based rational SPDE approximationpredict.CBrSPDEobj
Prediction of a mixed effects regression model on a metric graph.predict.rspde_lme
Prediction of a fractional SPDE using a rational SPDE approximationpredict.rSPDEobj
Get the order of rational approximation.rational.order
Changing the order of the rational approximationrational.order<-
Get type of rational approximation.rational.type
Changing the type of the rational approximationrational.type<-
Warnings free loading of add-on packagesrequire.nowarnings
rSPDE linear mixed effects modelsrspde_lme
Observation matrix for finite element discretization on RrSPDE.A1d
Constructor of Matern loglikelihood functions.rSPDE.construct.matern.loglike
Finite element calculations for problems on RrSPDE.fem1d
Finite element calculations for problems in 2DrSPDE.fem2d
Object-based log-likelihood function for latent Gaussian fractional SPDE modelrSPDE.loglike
Observation/prediction matrices for rSPDE models.rspde.make.A
rSPDE model index vector generationrspde.make.index
Matern rSPDE model object for INLArspde.matern
Intrinsic Matern rSPDE model object for INLArspde.intrinsic.matern rspde.matern.intrinsic
Object-based log-likelihood function for latent Gaussian fractional SPDE model using the rational approximationsrSPDE.matern.loglike
Precision matrix of the covariance-based rational approximation of stationary Gaussian Matern random fieldsrspde.matern.precision
Precision matrix of stationary Gaussian Matern random fields with integer covariance exponentrspde.matern.precision.integer
Optimized precision matrix of stationary Gaussian Matern random fields with integer covariance exponentrspde.matern.precision.integer.opt
Optimized precision matrix of the covariance-based rational approximationrspde.matern.precision.opt
Calculate a lattice projection to/from an 'inla.mesh' for rSPDE objectsrspde.mesh.project rspde.mesh.project.inla.mesh rspde.mesh.project.inla.mesh.1d rspde.mesh.project.rspde.mesh.projector rspde.mesh.projector
Matern rSPDE model object for metric graphs in INLArspde.metric_graph
rSPDE result extraction from INLA estimation resultsrspde.result
Simulation of a fractional SPDE using the covariance-based rational SPDE approximationsimulate.CBrSPDEobj
Simulation of a fractional intrinsic SPDE using the covariance-based rational SPDE approximationsimulate.intrinsicCBrSPDEobj
Simulation of a fractional SPDE using a rational SPDE approximationsimulate.rSPDEobj
Simulation of a Matern field using a rational SPDE approximationsimulate.rSPDEobj1d
Observation/prediction matrices for rSPDE models with integer smoothness.spde.make.A
Parameter-based log-likelihood for a latent Gaussian Matern SPDE model using a rational SPDE approximationspde.matern.loglike
Rational approximations of non-stationary Gaussian SPDE Matern random fieldsspde.matern.operators
Summarise CBrSPDE objectsprint.CBrSPDEobj print.summary.CBrSPDEobj summary.CBrSPDEobj
Summary Method for 'rspde_lme' Objects.summary.rspde_lme
Summary for posteriors of field parameters for an 'inla_rspde' model from a 'rspde_result' objectsummary.rspde_result
Summarise rSPDE objectsprint.rSPDEobj print.summary.rSPDEobj summary.rSPDEobj
Summarise rSPDE objects without FEMprint.rSPDEobj1d print.summary.rSPDEobj1d summary.rSPDEobj1d
Update parameters of CBrSPDEobj objectsupdate.CBrSPDEobj
Update parameters of rSPDEobj objectsupdate.rSPDEobj
Update parameters of rSPDEobj1d objectsupdate.rSPDEobj1d
Variogram of intrinsic SPDE modelvariogram.intrinsic.spde