Displaying 1 result from an estimated 1 matches for "soil_unit".
Did you mean:
skip_unit
2009 Jan 22
4
dimnames in pkg "ipred"
Hello List,
I`m trying to make prediction using a bagged tree with the package ipred. I tried to follow the manual but I`m getting an error message. Also browsing through the list-archive I didn`t find any hint.
Maybe someone can help me?
selbag <- bagging(SOIL_UNIT ~., data=traindat.bin, coob=TRUE)
Error in dimnames(X) <- list(dn[[1L]], unlist(collabs, use.names = FALSE)) :
length of 'dimnames' [2] not equal to array extent
I´m using R 2.7.2 on Win XP and the latest version of ipred.
Thanks a lot.
TIM
-----------------------------...