Package: pdp 0.10.0

pdp: Partial Dependence Plots

A general framework for constructing partial dependence (i.e., marginal effect) plots from various types of machine learning models in R.

Authors:Brandon M. Greenwell [aut, cre]

pdp_0.10.0.tar.gz
pdp_0.10.0.zip(r-4.7-x86_64)pdp_0.10.0.zip(r-4.7-arm64)pdp_0.10.0.zip(r-4.6-x86_64)pdp_0.10.0.zip(r-4.6-arm64)pdp_0.10.0.zip(r-4.5-x86_64)
pdp_0.10.0.tgz(r-4.6-x86_64)pdp_0.10.0.tgz(r-4.6-arm64)pdp_0.10.0.tgz(r-4.5-x86_64)pdp_0.10.0.tgz(r-4.5-arm64)
pdp_0.10.0.tar.gz(r-4.7-arm64)pdp_0.10.0.tar.gz(r-4.7-x86_64)pdp_0.10.0.tar.gz(r-4.6-arm64)pdp_0.10.0.tar.gz(r-4.6-x86_64)
pdp_0.10.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
pdp/json (API)

# Install 'pdp' in R:
install.packages('pdp', repos = c('https://bgreenwell.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bgreenwell/pdp/issues

Pkgdown/docs site:https://bgreenwell.github.io

Datasets:
  • boston - Boston Housing Data
  • pima - Synthetic Diabetes Data

On CRAN:

Conda:

black-box-modelmachine-learningpartial-dependence-functionpartial-dependence-plotvisualization

12.18 score 99 stars 5 packages 2.0k scripts 5.8k downloads 16 mentions 4 exports 2 dependencies

Last updated from:3c24a9e4d9 (on main). Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK185
linux-devel-x86_64OK146
source / vignettesOK236
linux-release-arm64OK192
linux-release-x86_64OK120
macos-release-arm64OK114
macos-release-x86_64OK424
macos-oldrel-arm64OK144
macos-oldrel-x86_64OK213
windows-devel-arm64OK218
windows-devel-x86_64OK130
windows-release-arm64OK192
windows-release-x86_64OK81
windows-oldrel-x86_64OK93
wasm-releaseOK121

Exports:exemplarpartialplotPartialtrellis.last.object

Dependencies:latticetinyplot

Introduction to pdp
Installation | A first example | Two predictors | 3-D surfaces and three predictors (lattice) | Classification | Models with non-Gaussian responses | Controlling the grid | Learn more

Last update: 2026-10-08
Started: 2018-08-10

Making pdp faster
Batched predictions (batch.size) | Parallel processing | The recursive method for gbm | Fast approximate PDPs (approx = TRUE)

Last update: 2026-07-03
Started: 2026-07-03

Individual conditional expectation (ICE) curves
ICE curves | Centered ICE (c-ICE) curves | User-supplied prediction functions | References

Last update: 2026-07-03
Started: 2026-07-03

Readme and manuals

Help Manual

Help pageTopics
Boston Housing Databoston
Exemplar observationexemplar exemplar.data.frame exemplar.dgCMatrix exemplar.matrix
Partial Dependence Functionspartial partial.default partial.model_fit
Synthetic Diabetes Datapima
Plotting Partial Dependence Functionsplot.cice plot.ice plot.partial
Plotting Partial Dependence Functions (deprecated)plotPartial plotPartial.cice plotPartial.ice plotPartial.partial