ggplot x axis element text code example
Example 1: ggplot geom_bar x axis labels
##
p + scale_x_discrete(limit = c("I1", "SI2", "SI1"),
labels = c("Ione","SItwo","SIone"))
Example 2: geom_bar change y axis
p + coord_flip()
##
p + scale_x_discrete(limit = c("I1", "SI2", "SI1"),
labels = c("Ione","SItwo","SIone"))
p + coord_flip()