search for: node_boxplot

Displaying 3 results from an estimated 3 matches for "node_boxplot".

2006 Mar 01
1
Problems to get a ctree plot (library party) in a file via jpeg/png
..."party" and I have found a curious/strange behaviour when trying to save the output of a ctree in a file via jpeg/png command. If you use: ################ library(party) airq <- subset(airquality, !is.na(Ozone)) airct <- ctree(Ozone ~ ., data = airq) plot(airct, terminal_panel = node_boxplot, drop_terminal = FALSE) ############### you get a perfect and nice graph, but when you try the equivalent but trying to put the output in a file: ################# library(party) airq <- subset(airquality, !is.na(Ozone)) airct <- ctree(Ozone ~ ., data = airq) jpeg(filename = "Rplot%03...
2006 Mar 01
0
Problems to get a ctree plot in a file via jpeg/png
..."party" and I have found a curious/strange behaviour when trying to save the output of a ctree in a file via jpeg/png command. If you use: ################ library(party) airq <- subset(airquality, !is.na(Ozone)) airct <- ctree(Ozone ~ ., data = airq) plot(airct, terminal_panel = node_boxplot, drop_terminal = FALSE) ############### you get a perfect and nice graph, but when you try the equivalent but trying to put the output in a file: ################# library(party) airq <- subset(airquality, !is.na(Ozone)) airct <- ctree(Ozone ~ ., data = airq) jpeg(filename = "Rplot%03...
2010 Jul 09
2
Ctree Question
...and have developed a 55 node - 28 terminal solution. As can be imagined, the plot is difficult to travel down each of the major branches. I've read the help files for ctree I saw where terminal nodes can be color coded. plot(airct, type = "simple") > plot(airct, terminal_panel = node_boxplot(airct, col = "blue", + fill = hsv(2/3, 0.5, 1))) Here is my question: Since my model has 55 nodes and 28 terminal nodes,(ie many branches) is it feasible to color code the each of the major branches and track the paths down the decision tree? R 2.11.1, Windox XP Thanks Steve St...