From cc3c45553d4bebd6d72ee130600bf8a63fda6260 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 25 Mar 2024 19:03:56 +0100 Subject: [PATCH] Run document() --- man/plot_predict_interaction.Rd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/plot_predict_interaction.Rd b/man/plot_predict_interaction.Rd index 64bf789..870a452 100644 --- a/man/plot_predict_interaction.Rd +++ b/man/plot_predict_interaction.Rd @@ -41,7 +41,8 @@ Plot the prediction of the forest for a grid of values of two numerical variable \examples{ forest <- randomForest::randomForest(Species ~., data = iris) plot_predict_interaction(forest, iris, "Petal.Width", "Sepal.Width") -forest_ranger <- ranger::ranger(Species ~., data = iris) + +forest <- ranger::ranger(Species ~., data = iris, probability = TRUE) plot_predict_interaction(forest, iris, "Petal.Width", "Sepal.Width") }