Package: MetricGraph Type: Package Title: Random Fields on Metric Graphs Version: 1.6.0.9000 Authors@R: c( person("David", "Bolin", email = "davidbolin@gmail.com", role = c("cre", "aut")), person("Alexandre", "Simas", email = "alexandre.impa@gmail.com", role = "aut"), person("Jonas", "Wallin", email = "jonas.wallin81@gmail.com", role = "aut")) Maintainer: David Bolin Description: 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 . License: GPL (>=2) Depends: R (>= 4.1.0) Imports: stats, RANN, ggplot2, igraph, sf, rSPDE (>= 2.5.0), Matrix, methods, Rcpp (>= 1.0.5), R6, lifecycle, sp, dplyr, tidyr, magrittr, broom, zoo, ggnewscale, rlang, foreach, doParallel, spatstat.geom, curl Suggests: knitr, testthat, INLA (>= 22.12.14), inlabru, osmdata, sn, plotly, parallel, optimParallel, numDeriv, SSN2, cowplot, leaflet, mapview, viridis, fmesher, data.table, spatstat.data Additional_repositories: https://inla.r-inla-download.org/R/testing BugReports: https://github.com/davidbolin/MetricGraph/issues URL: https://davidbolin.github.io/MetricGraph/ 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. Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) VignetteBuilder: knitr NeedsCompilation: yes LinkingTo: Rcpp, RcppEigen Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev libglpk-dev libicu-dev libxml2-dev libssl-dev libproj-dev libsqlite3-dev libudunits2-dev Repository: https://davidbolin.r-universe.dev Date/Publication: 2026-07-01 01:45:26 UTC RemoteUrl: https://github.com/davidbolin/metricgraph RemoteRef: HEAD RemoteSha: 39d0d2a9740be5504a14a13fe3525f6891223b93 Packaged: 2026-07-01 07:20:02 UTC; root Author: David Bolin [cre, aut], Alexandre Simas [aut], Jonas Wallin [aut]