I'm encountering various errors that appear to stem from the predict function. I'm using R 4.2.1 on Windows:
data(seeds, package = "ODRF")
set.seed(12)
train <- sample(1:209, 150)
seeds_train <- data.frame(seeds[train, ])
seeds_test <- data.frame(seeds[-train, ])
forest <- ODRF(varieties_of_wheat ~ ., seeds_train, split = "gini",
parallel = FALSE)
yields the error: Error in UseMethod("predict") : no applicable method for 'predict' applied to an object of class "call"
I'm encountering various errors that appear to stem from the
predictfunction. I'm using R 4.2.1 on Windows:yields the error:
Error in UseMethod("predict") : no applicable method for 'predict' applied to an object of class "call"