Displaying 1 result from an estimated 1 matches for "meanpart".
Did you mean:
mapart
2003 Dec 19
1
Question re labels in r-part (continuation of a thread from a while back)
...(totpart +1) ~ sexfact + age + windle +
eabused
+ as.factor(pabau) + positive + controlling + lenient +
druguse.ever
+ anycsw,
xval = 10, cp = 0.000000001, data = duhray)
{prune the tree}
tr.totpart.pruned <- prune (tr.totpart, cp = .02)
{ad the original metric to the frame}
meanpart <- exp(tr.totpart.pruned$frame$yval)-1
tr.totpart.pruned$frame <- cbind(tr.totpart.pruned$frame, meanpart)
and thought this was good because summary(tr.totpart.pruned$frame)
lists meanpart as one of the columns.
BUT when I tried
plot(tr.totpart.pruned, compress = T, uniform = T, nspace =...