grid_partial_plot: grid_partial_plot

Description Usage Arguments Details

Description

grid_partial_plot does basically the same job as gg_partial_plot but it has the capacity to plot factors alongside continuous variables. It does this by using gridExtra::grid.arrange. There is probably a more elegant/general solution out there but this worked so I'm sticking with it for now.

Usage

1

Arguments

x

a gbm.step object

vars

a character vector of the variables you want to plot

factors

a character vector of those variables which are factors

Details

grid_partial_plot plots partial dependence plots from gbm.step models in ggplot


njtierney/neato documentation built on May 23, 2019, 8:22 p.m.