I have made a graph using ggplot from data I transformed into means with code:
I would like to know if there is anyway I can add error bars to this graph. I know I have to transform the data to have more summaries but not sure how to proceed. Tried to do it seperately for each column but could'nt make a graph from it. like this:
Temperature <- ddply(shlf, c("Location"), summarise,
N = length(temp),
mean.temp = mean(temp),
sd = sd(temp),
se = sd / sqrt(N))
Any help is appreciated.
dput(means)so that everyone can have your exactdata.framewithout having to copy it number by number (or to invent fake data).