I downloaded the GitHub folder and run the script straight on my computer. Everything is fine but when attempting to execute the function:
m.biome00k <- ranger::ranger(formula = biome00k.fm,
data = rm.biome.s,
importance="impurity",
probability=TRUE,
num.trees=151,
mtry=19,
seed = 1)
I end up with an error that the formula is not supported. Is this a bug or is it happening on my side? The error is
Error in ranger::ranger(formula = biome00k.fm, data = rm.biome.s, importance = "impurity", :
Error: Unsupported type of dependent variable.
Any suggestions?
I downloaded the GitHub folder and run the script straight on my computer. Everything is fine but when attempting to execute the function:
m.biome00k <- ranger::ranger(formula = biome00k.fm,
data = rm.biome.s,
importance="impurity",
probability=TRUE,
num.trees=151,
mtry=19,
seed = 1)
I end up with an error that the formula is not supported. Is this a bug or is it happening on my side? The error is
Error in ranger::ranger(formula = biome00k.fm, data = rm.biome.s, importance = "impurity", :
Error: Unsupported type of dependent variable.
Any suggestions?