Plot a legend for a visual predictive check (VPC)
simulated confidence interval plotted. Should match argument passed to vpc::vpc(). Default is c(0.05, 0.95).
prediction intervals plotted. Should match argument passed to vpc::vpc(). Default is c(0.05, 0.95).
Named list of logicals specifying which layers to include on the plot. Passed to show argument of vpc::vpc().
Defaults are:
Observed points: obs_dv = TRUE.
Observed quantiles: obs_ci = TRUE
Simulated inter-quantile range:pi = FALSE
Simulated inter-quantile area: pi_as_area = FALSE
Simulated Quantile CI: pi_ci = TRUE
Observed Median: obs_median = TRUE
Simulated Median: sim_median = FALSE
Simulated Median CI: sim_median_ci = TRUE
label for lower limit of quantification in the plot legend.
list containing the plot elements to be updated. Default is set by pmxhelpr_vpc_theme().
Other arguments passed to ggplot2::theme().
a ggplot2 object