Description Usage Arguments Author(s)
This function can be used to plot a partial dependence plot for any model that can predict on data.frames.
1 2 3 4 5 6 7 8 | ggResponse(
models,
covariates,
colPlot = 3,
responseName = "Prediction",
index = 2,
...
)
|
models |
a model object |
covariates |
the covariates used in model fitting, a raster or data.frame |
colPlot |
integer. The number of colums for plotting |
responseName |
character. the name for y axes |
index |
integer. The columns used for prediction. This relates to the factor level for classification. |
... |
other arguments e.g. type = 'response' in GLMs or type = 'prob' in randomForest or the number of trees in BRT/GBM. |
Roozbeh Valavi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.