Re: [R] Export Tree for latex

2011-11-18 Thread RMSOPS
Hello, This is the code to generate the tree library(RWeka) library(randomForest) library(party) library(partykit) if(require(mlbench, quietly = TRUE) && require(party, quietly = TRUE)) m1 <- J48(income2 ~ capital.gain+capital.loss+relationship+marital.status, data = treino) #m1 <- J48(in

[R] Export Tree for latex

2011-11-18 Thread RMSOPS
Hello everybody. I'm trying to send the result of a decision tree for latex, but I do not get with the package(xtable), there is a package that make this export Export this for latex marital.status = Divorced | educational.num <= 12: <=50K (1795.0/90.0) | educational.num > 12 | | ho

Re: [R] Export Tree for latex

2011-11-18 Thread jdanielnd
What kind of object it is? How was it generated? It doesn't have a plot method? -- View this message in context: http://r.789695.n4.nabble.com/Export-Tree-for-latex-tp4083586p4083593.html Sent from the R help mailing list archive at Nabble.com. __ R-h