trafficCAR: Bayesian CAR Models for Road-Segment Traffic

Tools for simulating and modeling traffic flow on road networks using spatial conditional autoregressive (CAR) models. The package represents road systems as graphs derived from 'OpenStreetMap' data <https://www.openstreetmap.org/> and supports network-based spatial dependence, basic preprocessing, and visualization for spatial traffic analysis.

Version: 0.1.0
Depends: R (≥ 3.5)
Imports: sf, igraph, Matrix, methods, units, stats, graphics, rlang, posterior, ggplot2
Suggests: knitr, rmarkdown, microbenchmark, osmdata, lwgeom, leaflet, viridisLite, htmltools, usethis, testthat (≥ 3.0.0)
Published: 2026-01-27
DOI: 10.32614/CRAN.package.trafficCAR (may not be active yet)
Author: Madison Ell [aut, cre]
Maintainer: Madison Ell <mell at stat.tamu.edu>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README
CRAN checks: trafficCAR results

Documentation:

Reference manual: trafficCAR.html , trafficCAR.pdf
Vignettes: CAR-models (source, R code)
Creating Custom Road Datasets with trafficCAR (source, R code)
Fetching OSM roads (source, R code)
trafficCAR Model Diagnostics and Checking (source, R code)
Plotting model fit, diagnostics, and spatial patterns (source, R code)
Sampling from Gaussian CAR and ICAR Models (source, R code)
traffic-flow (source, R code)
trafficCAR-intro (source, R code)

Downloads:

Package source: trafficCAR_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): trafficCAR_0.1.0.tgz, r-oldrel (arm64): trafficCAR_0.1.0.tgz, r-release (x86_64): trafficCAR_0.1.0.tgz, r-oldrel (x86_64): trafficCAR_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=trafficCAR to link to this page.