Joint Modeling of Line and Point Data on Metric Graphs - code
Contributors
Researcher (2):
Description
We provide supplementary code to the existing MetricGraph (MetricGraph) for representing point and line support for models in inlabru (inlabru). The code is also available from fmesher (branch "MetricGraphPaper"), where it is under development for being included in existing libraries.
This version of the code (metric_graph.R) was used to generate results for the paper "Joint Modeling of Line and Point Data on Metric Graphs", which pre-print is available on arXiv: https://arxiv.org/abs/2505.01175
We include geometries that are used to construct the graph (road.gpkg) and four bus line trajectories (line1.gpkg, line2.gpkg, line3.gpkg, line4.gpkg). These are constructed from OpenStreetMap, and then modified manually in QGIS for our application specifically.
We include a minimal example of using the code on a small example graph in Minimal_example_line_support.R, which demonstrates how to use the new methods. simulation_study.R shows how the results in the simulation study in Section 5 of "Joint Modeling of Line and Point Data on Metric Graphs" is generated.
Files
Files
(1.4 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:8d73a2a8304c1cdeb59b9bec49cf9e03
|
114.7 kB | Download |
|
md5:c22a07954e3323a3e9de57fee514bcfb
|
118.8 kB | Download |
|
md5:a0741ceb560a7833c233a2f751d3d12a
|
110.6 kB | Download |
|
md5:ac89cbad8584dad8d19c33ddf96dbc99
|
110.6 kB | Download |
|
md5:c78751d9faf3bea1934416da7200f72c
|
30.9 kB | Download |
|
md5:47016f788b9e0e46ec36408e09ba91fe
|
2.9 kB | Download |
|
md5:add402e169b36c881dbcbe4dd3cca527
|
852.0 kB | Download |
|
md5:18c47c98d7f3ff18eb7a8b0ff3b584de
|
12.0 kB | Download |
Additional details
Related works
- Is supplement to
- Preprint: arXiv:2505.01175 (arXiv)
Funding
- The Research Council of Norway
- IKTPLUSS 332237
Dates
- Available
-
2025-04-09Uploaded to GitHub
Software
- Repository URL
- https://github.com/karinalilleborge/LinesMetricGraph
- Programming language
- R
- Development Status
- Active