Package: MetricGraph
Type: Package
Title: Random Fields on Metric Graphs
Version: 1.5.0
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 <davidbolin@gmail.com>
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) <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>.
License: GPL (>= 2)
Depends: R (>= 4.1.0)
Imports: stats, RANN, ggplot2, igraph, sf, rSPDE (>= 2.3.3), Matrix,
        methods, Rcpp (>= 1.0.5), R6, lifecycle, sp, dplyr, tidyr,
        magrittr, broom, zoo, ggnewscale
Suggests: knitr, testthat, INLA (>= 22.12.14), inlabru, osmdata, sn,
        plotly, parallel, optimParallel, numDeriv, SSN2, cowplot,
        leaflet, mapview, viridis, fmesher
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
RoxygenNote: 7.3.2
VignetteBuilder: knitr
NeedsCompilation: yes
LinkingTo: Rcpp, RcppEigen
Packaged: 2025-05-19 18:15:12 UTC; debusta
Author: David Bolin [cre, aut],
  Alexandre Simas [aut],
  Jonas Wallin [aut]
Repository: CRAN
Date/Publication: 2025-05-19 19:10:16 UTC
Built: R 4.4.3; x86_64-w64-mingw32; 2025-12-08 05:00:55 UTC; windows
Archs: x64
