autoplot.partial: Plot a partial dependence object
Description
ggplot2::autoplot method for objects of class "partial" as
returned by pdp_partial.
Usage
# S3 method for partial
autoplot(object, rug = FALSE, train = NULL, ...)
Arguments
- object
A data frame with class "partial".
- rug
Logical; add quantile rug marks on the x-axis.
- train
Training data used for rug marks (required when rug = TRUE).
- ...
Additional arguments passed to geom_line or geom_point.