Description Usage Arguments Value Author(s) See Also
View source: R/partialPlot2var.R
Given two feature vectors and a response vector, produces surface maps
of partial dependence function. Uses R package rgl
1 2 3 |
x1, x2, y |
numeric vectors containing the first, second and the response variable |
gridlength |
If either x1_grid or x2_grid is missin, a scalar indicating length of grids against which to make the plot |
x1_grid, x2_grid |
grids of points between which the surface map will be constant |
x1lab, x2lab, ylab |
Labels of x, y and z-axis respectively |
range.color |
range of values which should be colored. input in the form (min, max). If not provided, the program automatically sets it to the range of the partial dependence function calculated on grid points |
col.palette |
Color palette, typically a vector of length 2 indicating the range of colors |
plot_quantile_scale |
If TRUE, plots against quantiles of x1 and x2 instead of their raw values |
plot.colorbar |
produce a separate colorbar for the partial dependence plot? |
... |
additional arguments to pass to rgl::persp3d |
A RGL plot of type persp3d() of the package rgl
Sumanta Basu sumbose@berkeley.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.