Currently I am working with the glmtree() function in R. I have some factor variables with 20+ levels. The problem comes with the representation of the tree. There is some information at certain leafs that is impossible to visualise due to the large amount of levels in certain variables (i.e. i_mode has 29 levels).
One possible solution would be to "dummify" those levels. However, I'd rather not do it, if possible at all.
Do you know a method in which I can represent the same plot in a more readable form?
Any clue?
Thank you