ggMultiPD: ggMultiPD

Description Usage Arguments

Description

Function to draw partial dependency plots with fitted functions from several boosted regression trees obtained with the gbm.step routine in the dismo package. The models need to have the same set of predictors.

Usage

1
2
3
ggMultiPD(..., n.plots = length(pred.names), predictor = NULL,
  col.lines = c(), cex.line = 0.5, legend.pos = "right", smooth = F,
  cex.smooth = 0.3, se = F, span = 0.3, nrow = NULL, ncol = NULL)

Arguments

...

several gbm.step object (object of S3 class gbm)

n.plots

number of predictors to display, ranked by decreasing relative influence (default=all)

predictor

select a single predictor to plot. Can be either a character name (use "") or a number indicating its ranking in terms of relative influence

col.lines

a vector with as many colors as there are BRTs

cex.line

size of the lines

legend.pos

position for the legend ("none", "right", "left", "bottom", "top")

smooth

Logical. If TRUE (default FALSE) add a smoother to each fitted function

cex.smooth

size of the smoothers

span

span of the smoothers (default = 0.3)

nrow

number of plots per row

ncol

number of plots per column


JBjouffray/ggBRT documentation built on Jan. 30, 2021, 8:13 a.m.