autoplot.posterior | R Documentation |
For objects of classes posterior
and perf_mod
, autoplot()
produces a
simple plot of posterior distributions. For workflow set objects, there are
several types of plots that can be produced.
## S3 method for class 'posterior'
autoplot(object, ...)
## S3 method for class 'perf_mod'
autoplot(object, ...)
## S3 method for class 'perf_mod_workflow_set'
autoplot(object, type = "intervals", prob = 0.9, size = NULL, ...)
object |
An object produced by |
... |
Options passed to |
type |
A value of one of: |
prob |
A number p (0 < p < 1) indicating the desired probability mass to include in the intervals. |
size |
The size of an effective difference in the units of the chosen
metric. For example, a 5 percent increase in accuracy ( |
A ggplot2::ggplot()
object.
data(ex_objects)
autoplot(posterior_samples)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.