Plot conditional predictions
# S3 method for conditional_values
draw(
object,
facet_scales = "fixed",
discrete_colour = NULL,
discrete_fill = NULL,
xlab = NULL,
ylab = NULL,
...
)
an object of class "conditional_values"
, the result of a call
to conditional_values()
.
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"
.
a suitable colour scale to be used when plotting discrete variables.
a suitable fill scale to be used when plotting discrete variables.
character; label for the x axis of the plot.
character; label for the y axis of the plot.
additional arguments passed to patchwork::wrap_plots()
.