Displaying 2 results from an estimated 2 matches for "drop_termin".
Did you mean:
drop_terminal
2006 Mar 01
0
Problems to get a ctree plot in a file via jpeg/png
...uot; 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%03d.jpg",...
2006 Mar 01
1
Problems to get a ctree plot (library party) in a file via jpeg/png
...uot; 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%03d.jpg",...