search for: totpart

Displaying 1 result from an estimated 1 matches for "totpart".

Did you mean: logpart
2003 Dec 19
1
Question re labels in r-part (continuation of a thread from a while back)
...labels the nodes with the value of yval, which in this case is not what I want; I'd like the labels to be on the original metric, but label in text.rpart requires a "column name of x$frame", and the original DV is not on that frame. So, I tried the following: {create the tree} tr.totpart <- rpart(log(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...