Plots the fitted values from a gbm object returned by any of the model fitting options. This can give a more reliable guide to the shape of the fitted surface than can be obtained from the individual functions, particularly when predictor variables are correlated and/or samples are unevenly distributed in environmental space. Allows masking out of absences to enable focus on sites with high predicted values.
gbm.plot.fits(gbm.object, v=0, mask.presence=FALSE, use.factor=FALSE )
a gbm object
variable numbers to be plotted (if 0 then all are plotted)
Logical. If TRUE
, the function only plots fitted values for presences
Logical. If TRUE
, forces to use quicker printing box and whisker plot
John R. Leathwick and Jane Elith
Elith, J., J.R. Leathwick and T. Hastie, 2009. A working guide to boosted regression trees. Journal of Animal Ecology 77: 802-81