Plots an object created by bayesplay
# S3 method for prior
plot(x, ...)
# S3 method for posterior
plot(x, add_prior = FALSE, ...)
# S3 method for likelihood
plot(x, ...)
# S3 method for product
plot(x, ...)
# S3 method for prediction
plot(x, model_name = "model", ...)
# S3 method for robustness
plot(x, ...)
a robustness
object
arguments passed to methods
set to TRUE to add prior to the posterior plot
name of the model
a ggplot2
object