Displaying 1 result from an estimated 1 matches for "mixoth".
Did you mean:
mixon
2005 May 13
0
randomForest partialPlot x.var through function
...lified
version of the function and error...
> pplot <-
function(rf,pred.var){partialPlot(x=rf,pred.data=acoust,x.var=pred.var)}
>
> attach(acoust)
> acoust.rf <-
randomForest(VocalTF~Cruise+Spot+Spin+Delph+Stripe+Steno+Turs+Gramp+Lags+
+ Lisso+FerPsu+Glob+mixspotspin+mixother+mixed+Size,
+ data=acoust,importance=TRUE,keep.forest=TRUE)
> cruise.pp <- pplot(acoust.rf,Cruise)
Error in "[.data.frame"(pred.data, , xname) :
undefined columns selected
Here's the traceback call...
> traceback()
6: stop("undefined columns selected&...