Hello,

I am new to R-studio, I attended a course in which I discovered this program and now I would like to use it for an other project of mine. I would like to create a line plot with erro bars, but I have some issue with my following code :

Percentile <- function(perc) function(x)

##
`perc`

is the percentile which should be computed for the numeric vector `x`

quantile(x, perc*1e-2, na.rm=TRUE)

ggp <- ggplot(data=TESTOVER,

mapping=aes(x=wavelength, y=value)) +

geom_line(stat="summary", fun.y="median")+

geom_errorbar(stat="summary",

fun.ymin=Percentile(25),

fun.ymax=Percentile(75))+

print(ggp)

This message appears, even though I have no zero in my datasheet : Erreur : Don't know how to add o to a plot

De plus : Warning messages:

1: Removed 146 rows containing non-finite values (stat_summary).

2: Removed 146 rows containing non-finite values (stat_summary).

It may come from the structure of my datasheet, I don't really know ...

I would be very happy with any help you could provide

Jessica