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
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
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
3 matches
Mail list logo