MetricGraph: Random Fields on Metric Graphs

Facilitates creation and manipulation of metric graphs, such as street or river networks. Further facilitates operations and visualizations of data on metric graphs, and the creation of a large class of random fields and stochastic partial differential equations on such spaces. These random fields can be used for simulation, prediction and inference. In particular, linear mixed effects models including random field components can be fitted to data based on computationally efficient sparse matrix representations. Interfaces to the R packages 'INLA' and 'inlabru' are also provided, which facilitate working with Bayesian statistical models on metric graphs. The main references for the methods are Bolin, Simas and Wallin (2024) <doi:10.3150/23-BEJ1647>, Bolin, Kovacs, Kumar and Simas (2023) <doi:10.1090/mcom/3929> and Bolin, Simas and Wallin (2023) <doi:10.48550/arXiv.2304.03190> and <doi:10.48550/arXiv.2304.10372>.

Version: 1.3.0
Depends: R (≥ 3.5.0)
Imports: stats, ggplot2, igraph, sf, rSPDE (≥ 2.3.3), Matrix, methods, Rcpp (≥ 1.0.5), R6, lifecycle, sp, dplyr, tidyr, magrittr, broom, zoo, ggnewscale
LinkingTo: Rcpp, RcppEigen
Suggests: knitr, testthat, INLA (≥ 22.12.14), inlabru, osmdata, sn, plotly, parallel, optimParallel, numDeriv
Published: 2024-02-27
DOI: 10.32614/CRAN.package.MetricGraph
Author: David Bolin [cre, aut], Alexandre Simas [aut], Jonas Wallin [aut]
Maintainer: David Bolin <davidbolin at gmail.com>
BugReports: https://github.com/davidbolin/MetricGraph/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: The R package and code, and the main programs, were written by and are Copyright by David Bolin, Alexandre B. Simas and Jonas Wallin, and are redistributable under the GNU Public License, version 2 or later. The package also includes partial codes from another package, which was deprecated in Oct-2023, and whose codes are under the GPL-2 license. For details see the COPYRIGHTS file.
MetricGraph copyright details
URL: https://davidbolin.github.io/MetricGraph/
NeedsCompilation: yes
Additional_repositories: https://inla.r-inla-download.org/R/testing
Citation: MetricGraph citation info
Materials: NEWS
CRAN checks: MetricGraph results

Documentation:

Reference manual: MetricGraph.pdf
Vignettes: MetricGraph Package

Downloads:

Package source: MetricGraph_1.3.0.tar.gz
Windows binaries: r-devel: MetricGraph_1.3.0.zip, r-release: MetricGraph_1.3.0.zip, r-oldrel: MetricGraph_1.3.0.zip
macOS binaries: r-release (arm64): MetricGraph_1.3.0.tgz, r-oldrel (arm64): MetricGraph_1.3.0.tgz, r-release (x86_64): MetricGraph_1.3.0.tgz, r-oldrel (x86_64): MetricGraph_1.3.0.tgz
Old sources: MetricGraph archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=MetricGraph to link to this page.