Re: [R] rpart: plot without scientific notation

2012-02-03 Thread Adalberto Pineda
Stephen: I tried running your script but couldn't make it work (any feedback is welcome) so I changed it a little bit. I found you still need to set the # of digits as the max # of possible digits of your yval response or greater. node.fun - function(x) { x$frame$yval-as.integer(sprintf(%0.f,

Re: [R] rpart: plot without scientific notation

2011-08-26 Thread Stephen Milborrow
Jay josip.2...@gmail.com wrote: While I'm very pleased with the results I get with rpart and rpart.plot, I would like to change the scientific notation of the dependent variable in the plots into integers. Right now all my 5 or more digit numbers are displayed using scientific notation. One

[R] rpart: plot without scientific notation

2011-08-25 Thread Jay
While I'm very pleased with the results I get with rpart and rpart.plot, I would like to change the scientific notation of the dependent variable in the plots into integers. Right now all my 5 or more digit numbers are displayed using scientific notation. I managed to find this:

Re: [R] rpart: plot without scientific notation

2011-08-25 Thread Jean V Adams
I don't see a quick solution to this. You could contact the maintainer of the rpart.plot package, Stephen Milborrow maintainer(rpart.plot) or you could try to modify the rpart.plot() function yourself to meet your needs rpart.plot Jean Jay wrote on 08/25/2011 05:30:25 AM:

Re: [R] rpart: plot without scientific notation

2011-08-25 Thread David Winsemius
On Aug 25, 2011, at 10:38 AM, Jean V Adams wrote: I don't see a quick solution to this. You could contact the maintainer of the rpart.plot package, Stephen Milborrow maintainer(rpart.plot) or you could try to modify the rpart.plot() function yourself to meet your needs