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>.

Package details

AuthorDavid Bolin [cre, aut], Alexandre Simas [aut], Jonas Wallin [aut]
MaintainerDavid Bolin <davidbolin@gmail.com>
LicenseGPL (>= 2)
Version1.5.0
URL https://davidbolin.github.io/MetricGraph/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("MetricGraph")

Try the MetricGraph package in your browser

Any scripts or data that you put into this service are public.

MetricGraph documentation built on June 8, 2025, 1:55 p.m.