Publication-quality data visualization in R. Use when creating ggplot2 figures, multi-panel plots, 3D surfaces, or preparing figures for journals.
ggplot2 Standardsggplot(data, aes()) + geom_*() + scale_*() + theme_*().theme_minimal(), theme_bw(), or theme_classic() for publications. Never default grey.labs(x = ..., y = ..., title = ...). No axis labels like var_name.ggsave("fig.pdf", width = 7, height = 5, dpi = 300). PDF for vector, PNG for raster.scale_color_viridis_*() or RColorBrewer for colorblind-safe palettes.patchwork: p1 + p2 for side-by-side, for stacked. for labels.p1 / p2plot_annotation(tag_levels = "A")cowplot: plot_grid() for complex grid layouts with shared legends.scale_*_continuous(limits = ...) across panels for comparability.persp(): Base R 3D perspective plot for exposure-lag-response surfaces.plot.crosspred(ptype = "3d"): DLNM package convenience method.theta (rotation), phi (tilt), ltheta (lighting angle).plotly: plot_ly(z = ~matrix, type = "surface") for interactive 3D.filled.contour() or plot.crosspred(ptype = "contour") for 2D heatmaps.colorblindr::cvd_grid())