Description Usage Arguments Value Author(s)
View source: R/random_forest_helpers.R
Function to calculate partial dependencies from a randomForest
model.
1 2 | partial_plot_predict(list_model, df, variable, n = 100,
as.character = FALSE)
|
list_model |
A |
df |
Data frame to be used for prediction. |
variable |
The variable to calculate the partial dependency of. |
n |
Number of observations to predict? |
as.character |
Should the variables be forced to be a character data
type? This is helpful when binding many returns from
|
Data frame.
Stuart K. Grange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.