The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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
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: trafficCAR_0.1.0.zip, r-release: not available, r-oldrel: trafficCAR_0.1.0.zip
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.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.