[R] rotated histogram

steve fisk at bowdoin.edu
Thu Dec 14 19:53:56 CET 2006


I would like to make a scatterplot, with a histogram of the x and y 
variables above and to the right . I can use layout to set up the areas, 
and hist(x,y) works fine for the upper histogram. However, I need a 
rotated histogram on the right, and I don't know how to do this. I've 
seen a solution with a bar plot on the right, but I'd like to use a 
histogram. Do you know how I can do this?

Steve



More information about the R-help mailing list