search for: td3311176

Displaying 1 result from an estimated 1 matches for "td3311176".

2013 Apr 30
1
Stacked geom_bar with aggregated SE -ggplot2
Hi there,? I've been battling with an extension of this in my own data: getting appropriate error bars once data is stacked in a bar graph.? (original question: http://r.789695.n4.nabble.com/ggplot2-se-variable-in-geom-errorbar-s-limits- td3311176.html). It wouldn't let me reply to that thread. A modification of the earlier answer:? data(diamonds)? ?diamonds_df <- ddply(diamonds, .(cut, color), summarise,? ? ? ? ? ? ? ? ? ? ? ? ? mean_price = mean(price),? ? ? ? ? ? ? ? ? ? ? ? ? se_price = sd(price)/sqrt(length(price))? ? ? ? ? ? ?...