Flipping the axes

The x and y axes can easily be switched using coord_flip() function: 

code: 
       > ggplot(bwdf, aes(x=race, y=age))+geom_boxplot()+coord_flip()

output (graph): 

                  


    Comments & Feedback