You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consolidate plotting into plot(); deprecate plotPartial()
- plot.partial/plot.ice/plot.cice gain a lattice argument; lattice = TRUE
reuses the existing lattice workhorses (3-predictor panels, wireframe)
through the single plot() interface, printing the trellis and returning
it invisibly
- plotPartial() soft-deprecated with a pointer to plot(..., lattice = TRUE);
internal callers (including partial(plot = TRUE)) bypass the deprecated
generic so no warning is signaled
- Vignette gains a lattice section with paper-style 3-D and three-predictor
displays; tests updated and extended (test_plot.R)
- pkgdown workflow now removes AGENTS.md before building the site (pkgdown
renders every top-level .md file)
Copy file name to clipboardExpand all lines: R/pdp-package.R
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,7 @@
11
11
#' As of right now, \code{pdp} exports the following functions:
12
12
#' \itemize{
13
13
#' \item{\code{partial}} - construct partial dependence functions (i.e., objects of class \code{"partial"}) from various fitted model objects;
14
-
#' \item{\code{plotPartial}} - plot partial dependence functions (i.e., objects of class \code{"partial"}) using \code{\link[lattice]{lattice}} graphics;
15
-
#' \item{\code{plot}} - plot partial dependence functions (i.e., objects of class \code{"partial"}) using lightweight base R graphics via \code{\link[tinyplot]{tinyplot}};
14
+
#' \item{\code{plot}} - plot partial dependence functions (i.e., objects of class \code{"partial"}) using lightweight base R graphics via \code{\link[tinyplot]{tinyplot}} (or \code{\link[lattice]{lattice}} graphics whenever \code{lattice = TRUE});
16
15
#' \item{\code{exemplar}} - construct a single "exemplar" record from a data frame.
0 commit comments