Plot conditional predictions
Usage
# S3 method for class 'conditional_values'
draw(
object,
facet_scales = "fixed",
discrete_colour = NULL,
discrete_fill = NULL,
xlab = NULL,
ylab = NULL,
...
)Arguments
- object
an object of class
"conditional_values", the result of a call toconditional_values().- facet_scales
character; should facets have the same axis scales across facets? See
ggplot2::facet_wrap()for details. Options are:"fixed"(default),"free_x","free_y", and"free".- discrete_colour
a suitable colour scale to be used when plotting discrete variables.
- discrete_fill
a suitable fill scale to be used when plotting discrete variables.
- xlab
character; label for the x axis of the plot.
- ylab
character; label for the y axis of the plot.
- ...
additional arguments passed to
patchwork::wrap_plots().