plot.gbm(x,
i.var = 1,
n.trees = x$n.trees,
continuous.resolution = 100,
return.grid = FALSE,
...)
gbm.object
fitted using a call to gbm
gbm
formula.
If length(i.var) is between 1 and 3 then plot.gbm
p
n.trees
trees will be used.plot.gbm
produces no graphics and only returns
the grid of evaluation points and their average predictions. This is useful for
customizing the graphics for special variable types or for dimensions greater
than 3.return.grid
is true then plot.gbm
produces no
graphics and only returns the grid of evaluation points and their average
predictions.plot.gbm
produces low dimensional projections of the
gbm.object
by integrating out the variables not included in the
i.var
argument. The function selects a grid of points and uses the
weighted tree traversal method described in Friedman (2001) to do the
integration. Based on the variable types included in the projection,
plot.gbm
selects an appropriate display choosing amongst line plots,
contour plots, and lattice
plots. If the default graphics
are not sufficient the user may set return.grid=TRUE
, store the result
of the function, and develop another graphic display more appropriate to the
particular example.gbm
, gbm.object
, plot