Re: [R] plot rpart tree's from list object

2003-06-05 Thread Christian Schulz
many Thanks! For another lazzy typist's - this works fine. for (i in 1:length(tList)) { post(tList[[i]],paste("Tree", i, "ps", sep="."), title="title", digits=getOption("digits") - 0,use.n=TRUE) graphics.off() } christian > Yes, you need dev.off() inside the loop and to name the files diff

Re: [R] plot rpart tree's from list object

2003-06-05 Thread Thomas W Blackwell
Christian - I am looking at the call to post() in the code fragment below, and I wonder whether all of the arguments that are supplied will be matched correctly. I am also reading help("post.rpart"). The first argument is the tree, and that should be matched okay. The second argument in the

[R] plot rpart tree's from list object

2003-06-04 Thread Christian Schulz
Hello, i want the post plot's from a rpart list object with 18 tree's , getting no error - but getting no files,too? Perhaps i should using assign!? for (i in 1:length(treeList)) { post(treeList[[i]],filename=paste("Tree","i",sep=".ps"), title="Arbeitszufriedenheit", digits=getOption("digits") -