Skip to contents

Lays out a 2x2 quad combining a choropleth, point pattern, yearly grid summary, and (when available) a DBSCAN cluster panel. Falls back to base graphics with par(mfrow = c(2, 2)) when ggplot2 is absent.

Usage

morie_tps_render_quad(data, outfile = NULL, ...)

Arguments

data

Named list with elements: polys (polygons frame), points (lat/lon points), count_col, year_cols (character vector of column names like ASSAULT_RATE_2020:2024).

outfile

Optional output path; when NULL the rendered object is returned (ggplot or invisible NULL for base).

...

Forwarded to the underlying single-panel renderers.

Value

A patchwork-or-list object (ggplot2 path) or invisible NULL.