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) , Bolin, Kovacs, Kumar and Simas (2023) and Bolin, Simas and Wallin (2023) and .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("MetricGraph")

1.6.0 by David Bolin, 5 months ago


https://davidbolin.github.io/MetricGraph/


Report a bug at https://github.com/davidbolin/MetricGraph/issues


Browse source code at https://github.com/cran/MetricGraph


Authors: David Bolin [cre, aut] , Alexandre Simas [aut] , Jonas Wallin [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports stats, RANN, ggplot2, igraph, sf, rSPDE, Matrix, methods, Rcpp, R6, lifecycle, sp, dplyr, tidyr, magrittr, broom, zoo, ggnewscale, rlang, foreach, doParallel, spatstat.geom

Suggests knitr, testthat, INLA, inlabru, osmdata, sn, plotly, parallel, optimParallel, numDeriv, SSN2, cowplot, leaflet, mapview, viridis, fmesher, data.table, spatstat.data

Linking to Rcpp, RcppEigen


Suggested by ngme2, rSPDE.


See at CRAN