search for: mixspotspin

Displaying 1 result from an estimated 1 matches for "mixspotspin".

2005 May 13
0
randomForest partialPlot x.var through function
...#39;s a simplified 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 se...