I have 11 data columns in a single data.frame
, 10 of the columns are depth categories and one column contains one of two values (Day
or Night
).
Each row of data is populated with numeric values representing the percent of time spent in each depth category over a 4-hour period and has either Day
or Night
assigned to it in the Day_Night
column indicating whether that 4-hour period was during the day or the night.
I would like to plot this data in a back to back histogram where each depth bin is listed vertically along the plot and values for the day are plotted in one histogram facing one way, while the values for the night are plotted facing the other way. I can't post a picture since I am new but to see what I mean just look at Figure 5 on page 8 of this publication.
EDIT: Here's the picture:
Thanks for the help!