"Type of predictors in new data do not match that of the training data." within terra::predict (stackoverflow.com)stack
22 points by Léa C in stackoverflow.com · 2h ago · stack
I am facing an issue similar to the one raised here r random forest error - type of predictors in new data do not match but cannot apply the suggested solution to my problem, as my test data is a raster stack. I am trying to run the line: mean_rast <- terra::predict(s, model, na…