My data looks like this.
Serial No. Control Treatment Total Status Type
1 2 4 6 social high
2 3 5 8 social low
3 7 8 15 solitary high
4 8 2 10 solitary low
.
.
.
And several more such rows. I want to produce a final graph where I can place mean control, mean treatment and mean total for each of the Status-Types with confidence intervals.
So in the the end, I will have 4 categories on x-axis solitary high, solitary low, social high, social low : each with its corresponding mean control, treatment, total stacked side-by-side.
Thanks! PS I am newbie to ggplot2