search for: sympt

Displaying 2 results from an estimated 2 matches for "sympt".

Did you mean: smpt
2007 Feb 02
1
Problem with party and ordered factors
...ornik and Achim Zeileis described in the documentation party: A Laboratory for Recursive Part(y)titioning There i got the same problem. I execute the following code: > data("mammoexp", package = "party") > mtree <- ctree(ME ~ ., data = mammoexp, scores = list(ME = 1:3, SYMPT = 1:4, DECT = 1:3)) > plot(mtree) Beside getting one waring everthing's ok. But when i excute summary(predict(mtree)) the result is: Never Within a Year Over a Year 412 0 0 So now i'm stuck. Am i doing anything wrong? I'm using R 2.4.1 and all packages...
2010 Nov 01
0
Extract node names from BinaryTree in package party
Hi there, I need to extract the variable names from all nodes (except the terminal nodes) from a ctree object, e.g. library(party) mammoct <- ctree(ME ~ ., data = mammoexp) plot(mammoct) how can I extract the varnames from node 1 (SYMPT) and node 3 (PB) from the fitted object "mammoct"? Many Thanks, Sven