search for: mammoexp

Displaying 4 results from an estimated 4 matches for "mammoexp".

2007 Feb 02
1
Problem with party and ordered factors
...level of my ordered factor. In order to test if i did anything wrong i tried the example of Torsten Hothorn, Kurt Hornik 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...
2007 Feb 02
2
Regression trees with an ordinal response variable
Hi, I am working on a regression tree in Rpart that uses a continuous response variable that is ordered. I read a previous response by Pfr. Ripley to a inquiry regarding the ability of rpart to handle ordinal responses in 2003. At that time rpart was unable to implement an algorithm to handle ordinal responses. Has there been any effort to rectify this in recent years? Thanks! Stacey On
2007 Oct 25
0
adjust labels in plot:terminal_panel {party}
Hi List, I am unsuccessfully trying to beautify barplot outputs from ctree. For example I would like to rotate x-axis lables and resize/change font/type. mtree <- ctree(ME ~ ., data = mammoexp) plot(mtree,terminal_panel=node_barplot(mtree,col="black",fill=NULL, beside=TRUE, ylines=NULL, widths=1,gap=NULL, reverse=FALSE,id=FALSE)) plot(mtree,terminal_panel=node_barplot(mtree,col="black",fill=NULL, beside=TRUE, ylines=NULL, widths=1,gap=NULL, re...
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