Displaying 1 result from an estimated 1 matches for "stat_sum_df".
2013 Apr 30
1
Stacked geom_bar with aggregated SE -ggplot2
...ce + se_price, ymin = mean_price - se_price)?
a<-ggplot(diamonds_df, aes(x = cut, y = mean_price, fill=color)) +?
?geom_bar(position=position_stack(width=0.9))?
a?
Then attempting to add error bars:?
a+ geom_errorbar(limits, position=position_stack(width=0.9), width=0.9)?
I have tried: ??
r + stat_sum_df("mean_cl_normal", geom = "errorbar"), ?using the aggregation
function in?http://www.stanford.edu/~paunesku/, using ddplyr but haven't
managed to work out a way of specifying the error bars to R. ?In my case I
would like to use an error bar analogous to each value of "cu...