Ich möchte gerne in meinen Grafiken (Boxplots, Punktediagramme) eine rote Linie durch einen y-Wert ziehen lassen. Kann mir hier jemand helfen? Habe noch keine Lösung dafür gefunden.
Hier mal ein einfacher Boxplot von mir:
Code: Alles auswählen
ggplot(h2o2_redlog_time,aes(Einwirkzeit,Reduktion.log))%>%
+geom_boxplot()%>%
+ggtitle("H2O2 3%")
#hier noch meine y-Werte
str(h2o2_redlog_time$Reduktion.log)
num [1:206] 2.86 2.86 3.12 2.86 2.84 3.21 2.7 2.7 2.7 2.7 ...
table(h2o2_redlog_time$Reduktion.log)
2.25 2.38 2.46 2.61 2.62 2.7 2.71 2.74 2.76 2.78 2.8 2.82 2.84 2.86 2.92 2.95 2.98 3.05
6 5 6 6 4 6 8 7 1 4 5 12 7 15 6 12 14 4
3.07 3.1 3.11 3.12 3.13 3.15 3.19 3.2 3.21 3.23 3.26 3.27 3.3 3.31 3.32 3.35 3.45 3.47
4 6 7 5 6 1 6 1 1 6 1 2 6 1 1 2 6 5
3.5 3.53 3.73 3.83 4.08 4.11 4.19 4.22
2 1 1 1 2 1 2 1
Vielen, vielen Dank für eure Hilfe!