subset.ALEPlots {ale} | R Documentation |
subset method for ALEPlots object
Description
Subset an ALEPlots
object to produce another ALEPlots
object only with the subsetted x_cols
variables and interactions, as specified in the return value description.
See get.ALE()
for explanation of parameters not described here.
Arguments
x |
An object of class |
... |
not used. Inserted to require explicit naming of subsequent arguments. |
include_eff |
logical(1). |
Value
An ALEPlots
object reduced to cover only variables and interactions specified by x_cols
and exclude_cols
. This is different from get.ALEPlots()
, which returns a list of ggplot
objects and loses the special ALEPlots
behaviour like plotting, printing, and summarizing multiple plots.