[R] Export Tree for latex
RMSOPS
ricardosousa2000 at clix.pt
Fri Nov 18 17:43:03 CET 2011
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(income2 ~ ., data = treino)
m1
--
View this message in context: http://r.789695.n4.nabble.com/Export-Tree-for-latex-tp4083586p4083880.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list