This is the core function that handles the standard plot workflow:
Validate parameters
Split data if requested
Build atomic plots
Combine or facet plots
Usage
build_plot(data, atomic_fn, params, split_by = NULL, combine = TRUE, ...)
Arguments
- data
Data frame
- atomic_fn
Function to create atomic plot
- params
List of parameters
- split_by
Column to split by
- combine
Whether to combine plots
- ...
Additional arguments
Value
Plot or list of plots