Rotate Classification Tree Terminal Barplot axis - R
I have a classification tree analyzed using ctree() was wondering how can one rotate the terminal nodes so that the axes are vertical? library(party) data(iris) attach(iris) plot(ctree(Species ~ Sepal.Length + Sepel.Width + Petal.Length + Petal.Width, data = iris)) Here is how I would go about it. Not the shortest answer, but I wanted to be as thorough as possible. Since we are plotting your tree, it's probably a good idea to look at the documentation for the appropriate plotting function: library(party) data(iris) attach(iris) ctree <- ctree(Species ~ Sepal.Length + Sepal.Width + Petal.Length