Behalf Of Sarah Goslee
Sent: Friday, July 29, 2011 8:49 AM
To: m...@statcourse.com
Cc: r-help@r-project.org
Subject: Re: [R] help with rpart
Mark,
The R-help list is not telepathic. I asked entirely reasonable follow-up
questions intended to elicit from you
redict() is not providing?
> Can anyone be of practical assistance?
Of course. But we need to know *what you want*.
A minimal reproducible example is handy, and I've now provided one
for you because I'm feeling generous.
> Mark
>
> ---- Original Message
> Subject: R
Why repost after receiving a reply? Reposting is unnecessary. If the
first reply was unsatisfactory, why? More detail in your question
leads to a more useful and informative reply.
Just in case you didn't get it:
On Thu, Jul 28, 2011 at 11:52 AM, wrote:
> 1. How can I plot the entire tree produ
1. How can I plot the entire tree produced by rpart?
2. How can I submit a vector of values to a tree produced by rpart and
have
it make an assignment?
Mark
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do re
When using anova method, all of the printed results are scaled by the RSS for
the top node. Therefore the relative error measures for the trees already are
1-R^2.
tfit <- rpart(time ~ ., lung)
summary(tfit)
CP nsplit rel error xerror xstd
1 0.03665178 0 1.000
Hi all,
I am using RPART for my genetic study under ANOVA method. I wanted to know
if it is possible to see r-squared or the amount of the variance in the data
explained by a model (or a tree in this case from the RPART package. I am
guessing that there has to be one since I am using ANOVA to est
Some answers are on the help pages for plot.rpart and text.rpart.
On Mon, 12 May 2008, Linus An wrote:
Hi,
I am using rpart as a part of my masters' project. I am trying to print out
the resulting model using plot() function along with text() function. I am
having difficulties with labels bein
Hi,
I am using rpart as a part of my masters' project. I am trying to print out
the resulting model using plot() function along with text() function. I am
having difficulties with labels being cut-off. In text() function, I am
using use.n=T option to get the number of people in each nodes but the
8 matches
Mail list logo