plot | R Documentation |
Plots an object created by bayesplay
## S3 method for class 'prior'
plot(x, ...)
## S3 method for class 'posterior'
plot(x, add_prior = FALSE, ...)
## S3 method for class 'likelihood'
plot(x, ...)
## S3 method for class 'product'
plot(x, ...)
## S3 method for class 'prediction'
plot(x, model_name = "model", ...)
x |
a |
... |
arguments passed to methods |
add_prior |
set to TRUE to add prior to the posterior plot |
model_name |
name of the model |
a ggplot2
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.