PNVmaps icon indicating copy to clipboard operation
PNVmaps copied to clipboard

biome00k.fm, Error: Unsupported type of dependent variable.

Open kamaulindhardt opened this issue 3 years ago • 1 comments

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?

kamaulindhardt avatar Jul 09 '21 12:07 kamaulindhardt

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?

kamaulindhardt avatar Jul 13 '21 07:07 kamaulindhardt