I am using "plot" and "text" commands to display the decision tree I built,
here is the code:
plot(fit, compress=TRUE)
text(fit, use.n=TRUE)
but the the result of this code is not readable. Text doesn't get fully
displayed (missing on the margines and overlapping in the middle). Where
can I get
I figured it out myself, here it is: control=rpart.control(cp=.001))
Thank you!
On Fri, Aug 13, 2010 at 12:58 PM, Olga Shaganova wrote:
> My decision tree grows only with one split and based on what I see in
> E-Miner it should split on more variables. How can I adjust splitting
> cr
My decision tree grows only with one split and based on what I see in
E-Miner it should split on more variables. How can I adjust splitting
criteria in R?
Also is there way to indicate that some variables are binary, like variable
Info_G is binary so in the results would be nice to see "2) Info_G=
Hi,
I am a brand new user and may be my question is too simple. I have R on
our (not Unix) server. I am trying to build a decision tree and the error
message says "couldn't find function rpart". Does it mean I have to ask our
server guy to install an additional package?
Thank you,
Olga
[
4 matches
Mail list logo