Plot the simulated "true" values versus posterior estimates
plot_sim_estimated(
x,
variables = NULL,
estimate = "mean",
uncertainty = c("q5", "q95"),
alpha = NULL,
...,
parameters = NULL
)
# S3 method for data.frame
plot_sim_estimated(
x,
variables = NULL,
estimate = "mean",
uncertainty = c("q5", "q95"),
alpha = NULL,
show_hidden = FALSE,
parameters = NULL
)
object containing results (a data.frame or SBC_results()
object).
variables to show in the plot or NULL
to show all
which estimate to use for the central tendency,
must correspond a field already computed in the results (most likely "mean"
and "median"
).
which estimates to use for uncertainty (a character vector of length 2)
must correspond a field already computed in the results. Pass NULL
to avoid showing uncertainty at all.
the alpha for the points and uncertainty intervals
DEPRECATED, use variables
instead
Show variables marked with hidden_var_attribute()
(by default, those are not shown, available only when x
is a data.frame)
a ggplot2 plot object