Reproduces the MORIE gallery's per-category stochastic figures in base R: the Hawkes fit panel (monthly counts, dashed background-rate line, time-rescaling residual histogram with its KS p-value), and optionally the SARIMA hold-out forecast panel. Data are fetched live from the public TPS ArcGIS portal, so results reproduce anywhere without access to any private mirror.
Arguments
- out_dir
Directory to write PNG files into (created if missing). Required; nothing is written anywhere else.
- categories
TPS categories (see
morie_tps_layer_urls()). Default"Homicides".- which
Figure families to render: any of
"hawkes","sarima","langevin","fokker_planck".- cache_dir
Passed to
morie_fetch_tps(); defaults to a session temporary directory.
