Retrieve specific plots from an ALEPlots object with the get() generic.
Unlike the subset() method, which returns an
ALEPlots object, this method returns a list of ggplot2::ggplot objects.
See the get() method for ALE objects for arguments and output structure not described here.
Value
A list of ggplot objects using the category and dimension
conventions described for the ALE method. This differs
from the subset() method, which returns an
ALEPlots object.
Method arguments
obj: ALEPlots object from which to retrieve ALE elements.type: character(1). Matched exactly. "ale" retrieves standard ALE plots and "effect" retrieves ALE effects plots. Withcats = ".all", "ale" selects "facet"; "overlay" and "facet" select the corresponding combined-category plots, while "effect" is invalid.cats: character. The categories (one or more) of a categorical outcome variable to retrieve. To retrieve all categories as individual category plots, leavecatsat the defaultNULL. For categorical plots that combine all categories, specifycats = ".all". (Don't forget the "." in ".all", which avoids naming conflicts with legitimate categories that might be named "all".) For such all-category plots, choosetype = "overlay"ortype = "facet"; the defaulttype = "ale"selects "facet".
