error when running the iris example with class probability output
library(randomForest)
library(edarf)
data(iris)
fit <- randomForest(Species ~ ., iris)
pd <- partial_dependence(fit, iris, "Petal.Width", type = "prob")
plot(pd)
Error in as.character(x$label) :
cannot coerce type 'closure' to vector of type 'character'
error when running the iris example with class probability output