diff --git a/DESCRIPTION b/DESCRIPTION index 946f9bc..3329e5d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -29,7 +29,7 @@ Suggests: MASS (>= 7.3.47), testthat VignetteBuilder: knitr -RoxygenNote: 7.3.0 +RoxygenNote: 7.3.1 URL: https://github.com/ModelOriented/randomForestExplainer, https://modeloriented.github.io/randomForestExplainer/ Config/testthat/edition: 3 Config/Needs/website: ModelOriented/DrWhyTemplate diff --git a/R/min_depth_interactions.R b/R/min_depth_interactions.R index dab07fe..7e706be 100644 --- a/R/min_depth_interactions.R +++ b/R/min_depth_interactions.R @@ -187,7 +187,8 @@ plot_min_depth_interactions <- function(interactions_frame, k = 30, #' @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") #' #' @export