Re: [R] How to add error bars to a line plot with ggplot2?

2023-07-14 Thread Luigi Marongiu
Thank you, the problem was indeed about factors. Case solved On Fri, Jul 14, 2023 at 7:05 PM Rui Barradas wrote: > > Às 17:33 de 14/07/2023, Luigi Marongiu escreveu: > > Hello, > > I am measuring a certain variable at given time intervals and > > different concentrations of a reagent. I would

Re: [R] How to add error bars to a line plot with ggplot2?

2023-07-14 Thread Rui Barradas
Às 17:33 de 14/07/2023, Luigi Marongiu escreveu: Hello, I am measuring a certain variable at given time intervals and different concentrations of a reagent. I would like to make a scatter plot of the values, joined by a line to highlight the temporal measure. I can plot this all right. Now,

Re: [R] How to add error bars to a line plot with ggplot2?

2023-07-14 Thread Ivan Krylov
В Fri, 14 Jul 2023 18:33:38 +0200 Luigi Marongiu пишет: > COLS = c("green", "red", "blue", "yellow") > geom_errorbar(aes(x=Time, ymin=ddC-SD, ymax=ddC+SD, colour=mM, > group=mM), width=.1, colour=COLS) + The last `colour` argument in the call above is a character vector of length 4. You