Rational Approximations of Fractional Stochastic Partial Differential Equations
Overview
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.
- Added
posterior_crossvalidation()for objects fitted withrspde_lme(). The function mirrors the interface ofMetricGraph::posterior_crossvalidation. - Added
hybrid.spde(), a new hybrid Whittle-Matern SPDE model with a non-zero deterministic mean. rspde_lme()now supportshybrid.spdemodels.- Added
rspde.hybrid.matern(), a INLA cgeneric model for the hybrid Whittle-Matern SPDE with alpha = 2. - Added a
kappa_muoption that lets the operator applied to the mean use a different range parameter from the one in the covariance. Default (kappa_mu = NULLinhybrid.spde(),separate_kappa_mu = FALSEinrspde.hybrid.matern()) keeps them linked. When enabled,kappa_muis estimated jointly inrspde_lmeand INLA, or can be held fixed viamodel_options$fix_kappa_mu.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
Show 2 earlier changesHide 2 earlier changes
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 105 (1 internal)includes a package overview page
- Examples that run
- 90%55 run in a plain check (10 of them under a condition) · 6 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 60%
- Documented parameters
- 97%
- Return-value docs
- 94%
- Help pages citing references
- 0%
Also includes 1 demo script (run with demo())
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 4
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
6 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/davidbolin/rspde on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-23 · The repository has a site deploy workflow
pkgdown site last built 2026-09-23
Dependencies
Installing rSPDE adds 34 packages (24 with compiled code, 41 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, sp 4.3 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 2.6.0Latest2026-08-31 · current release · diff ↗ ·
added 5 exports
hybrid.spde, local_rspde_safe_inla, posterior_crossvalidation, rspde.hybrid.matern, rspde_safe_inla - RR 4.6.0 released · 2026-04-24
- 2.5.2
- RR 4.5.0 released · 2025-04-11
- 2.5.12025-03-22 · diff ↗ ·
removed 1 export
group_predictadded 2 exports
intrinsic.operators, rspde.intrinsic - 2.4.02024-12-02 · diff ↗ ·
added 13 exports
create_train_test_indices, group_predict, matern.rational, matern.rational.cov, matern2d.operators, rSPDE.Ast, rspde.anistropic2d, rspde.intrinsic.matern, rspde.matern1d, rspde.spacetime, spacetime.operators, transform_parameters_anisotropic, transform_parameters_spacetime - RR 4.4.0 released · 2024-04-24
- 2.3.3
- 2.3.2
- 2.3.1
- RR 4.3.0 released · 2023-04-21
- 2.2.0
- 2.1.02023-01-19 · diff ↗ ·
removed 3 exports
get.inital.values.rSPDE, get.sparsity.graph.rspde, rspde.precisionadded 4 exports
construct.spde.matern.loglike, get.initial.values.rSPDE, gg_df, rspde.metric_graph - 1.2.02022-09-16 · diff ↗ ·
removed 2 exports
folded.matern.covariance, simulateadded 7 exports
rational.order<-, rational.type<-, folded.matern.covariance.1d, folded.matern.covariance.2d, rSPDE.construct.matern.loglike, rational.order, rational.type - RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2022-01-14
Show 10 earlier eventsHide 10 earlier events
- 1.1.12022-01-14 · diff ↗
- archivedRemoved from CRAN2022-01-06check issues were not corrected in time
- 1.0.02021-12-13 · diff ↗ ·
added 16 exports
folded.matern.covariance, get.inital.values.rSPDE, get.sparsity.graph.rspde, precision, rSPDE.matern.loglike, rspde.make.A, rspde.make.index, rspde.matern, rspde.matern.precision, rspde.matern.precision.integer, rspde.matern.precision.integer.opt, rspde.matern.precision.opt, rspde.mesh.project, rspde.mesh.projector, rspde.precision, rspde.result - 0.6.32021-10-14 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.6.22021-02-23 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.4.8
- 0.4.62019-08-20
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-08-20
- Total releases
- 16 / 7 yrs
- License
- GPL (>= 3) | file LICENSE OSI
- Additional repositories
- inla.r-inla-download.org
- Minimum R
- ≥ 3.5.0
- Download size
- 3.5 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("rSPDE")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1080/10618600.2023.2231051, 10.1080/10618600.2019.1665537.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.