Description Usage Arguments Value See Also
This is a plot of the model implied function of 2 predictors averaged over the other predictors
included in the model. This is called a partial dependence plot.
As an alternative to the perspective (3D) plot, a 2D heat plot can be obtained directly
using ?plot.gbm
.
1 2 3 |
object |
|
response.no |
index of the response variable |
predictor.no |
vector containing indices of the predictor variables to plot |
n.trees |
desired number of trees. Defaults to the minimum number of trees by CV, test, or training error |
phi |
angle of viewing direction. See |
theta |
angle of viewing direction See |
r |
distance from eye to center. See |
d |
strength of perspective. See |
xlab, |
title for x axis, must be character strings. |
ylab, |
title for y axis, must be character strings. |
zlab, |
title for z axis, must be character strings. |
ticktype |
'detailed' gives axis points. See |
... |
extra arguments are passed to persp. See |
Function returns a plot.
plot.gbm
, plot.mvtb
, mvtb.heat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.