R: Bayesian CAR Models for Road-Segment Traffic

# Bayesian CAR Models for Road-Segment Traffic

## Documentation for package ‘trafficCAR’ version 0.1.1

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package README

## Help Pages

augment_roads | Augment roads with predicted traffic quantities
build_adjacency | Build segment adjacency from segment geometries
build_network | Build a road network graph from sf LINESTRING data
car_precision | CAR precision matrix from an adjacency matrix
fetch_osm_roads | Fetch road geometries from OpenStreetMap
fit_car | Fit Gaussian CAR / ICAR regression via Gibbs sampling
fit_traffic | Fit a Gaussian CAR traffic model (speed or travel time)
icar_sum_to_zero | Apply sum-to-zero constraint to ICAR precision
intrinsic_car_precision | Intrinsic CAR (ICAR) precision matrix
map_roads_interactive | Interactive map of road-segment traffic measures
map_roads_interactive_layers | Interactive map with multiple standard traffic layers
moran_residuals | Moran's I for trafficCAR residuals
plot_mcmc_diagnostics | MCMC diagnostic plots
plot_observed_fitted | Plot observed vs predicted traffic values
plot_predicted | Plot predicted traffic outcome on road network
plot_relative_congestion | Plot relative congestion on road network
plot_roads_static | Static map of road-segment traffic measures
plot_traffic_map | Quick map helper for augmented roads
ppc_summary | Posterior predictive checks for trafficCAR fits
residuals.traffic_fit | Residuals for trafficCAR fits
roads_cstat | Example road network datasets
roads_datasets | Example road network datasets
roads_small | Example road network datasets
roads_to_segments | Convert road geometries to modeling segments
sample_proper_car | Gibbs sampler for a proper CAR latent Gaussian model
simplify_network | Simplify a built network object by removing parallel edges (and loops)
weights_from_adjacency | Construct spatial weights matrix