Description Usage Arguments Value Author(s)
Plots a response surface plot or interaction plot (2 predictors and a model response) for models of the functions ranger
, randomForest
, and rpart
. It also plots the observed data on top of the predicted surface.
1 2 3 4 5 6 7 8 9 |
model |
a model object produced by the functions |
data |
dataframe used to fit the model. |
x |
character string, name of column in |
y |
character string, name of column in |
z |
character string, name of column in |
grid |
numeric, resolution of the x and y axes. |
point.size.range |
numeric vector with two values defining the range size of the points representing the observed data. |
A ggplot object.
Blas M. Benito <blasbenito@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.