How to plot/visualize a C50 decision tree in R?
I am using the C50 decision tree algorithm. I am able to build the tree and get the summaries, but cannot figure out how to plot or viz the tree. My C50 model is called credit_model In other decision tree packages, I usually use something like plot(credit_model). In rpart it is rpart.plot(credit_model). What is the equivalent in the C50 algorithm to plot? Right now, there are none built in. I've been working on an adapter for the partykit package (e.g. as.party ) but have not gotten very far. Max You can use the following routine, to directly convert the decision tree into GraphViz dot