- model
A fitted ordbetareg model.
- type
Default is "both" for creating both a
discrete (bar) and continuous (density) plot. Can also be
"discrete" for only the bar plot for discrete values (0/1) or
"continuous" for continuous values (density plot).
- ndraws
Number of posterior draws to use to calculate estimates and show in plot.
Defaults to 10.
- cores
Number of cores to use to produce posterior predictive distribution. Defaults to NULL or 1 core.
- group
A factor variable of the same number of
rows as the data that is used to broduce grouped
(faceted) plots of the posterior distribution.
- new_theme
Any additional themes to be added to ggplot2 (default is NULL).
- outcome_label
A character value that will replace the name of the outcome in the plot
(default is the name of the response variable in the data frame).
- animate
Whether to animate each posterior draw for continuous
distributions (defaults to FALSE).
- reverse_bounds
Whether to plot data using the original bounds in the data
(i.e. not 0 and 1).
- facet_scales
The option passed on to the facet_wrap
function in
ggplot2
for the type of scale for facetting if passing a variable for
group
. Defaults to "fixed"
scales but can be set to "free_y"
to allow
probability density/bar count scales to vary or "free"
to allow both x
and y axes to vary (i.e., also outcome axis ticks).