
Select representative uncertainty matrices
uncertainty_matrices.RdSelects matrices closest to requested quantiles of a summary metric. This is useful for inspecting lower, median, and upper stochastic prediction draws.
Usage
uncertainty_matrices(x, metric = "total", probs = c(0.025, 0.5, 0.975))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.