Re: [R] Help with Partial dependence bar graph

2010-04-21 Thread Liaw, Andy
Store the returned value of partialPlot() in an object and do your own barplot. Read the "Value" section in the help page for partialPlot. Andy From: Daudi Jjingo > > Hello, > > I need to draw a partial dependence bar graph. > My the my predictor vectors are continous and so is the > respons

[R] Help with Partial dependence bar graph

2010-04-20 Thread Daudi Jjingo
Hello, I need to draw a partial dependence bar graph. My the my predictor vectors are continous and so is the response variable. Iam using the partialPlot function of the randomForest package. I get a line graph. How can I edit it to get a bar graph instead? (partialPlot(randomForest object ,dat