PNVmaps
PNVmaps copied to clipboard
biome00k.fm, Error: Unsupported type of dependent variable.
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 have tried on another computer and here there was no issue.. Any idea why I experienced this on the other computer and not on this one?