
Plot representative uncertainty matrices
plot_uncertainty.RdPlots complete draws selected by uncertainty_matrices() as labelled heatmaps
with a shared colour scale. Requires ggplot2.
Arguments
- x
A 3D prediction array with simulations in the third dimension.
- metric
Metric to order by. Must be a column returned by
mobility_metrics().- probs
Quantiles to select.
- scale
Colour transformation:
"log1p"(default) or"identity". Log1p accommodates zero flows and makes smaller flows visible.- ...
Further arguments passed to
ggplot2::geom_tile().