I have this kind of df :
df<- tribble(
~Value, ~Depth, ~Date
-96.14, 10, 20211013
-94.62, 20, 20211013
-92.41, 30, 20211014
-91.27, 40, 20211014
-84.14, 50, 20211017
-74.91, 60, 20211017
-72.61, 70, 20211017
-69.74, 80, 20211018
-69.73, 90, 20211018
-73.83, 100,20211019
-77.27, 110,20211019
-79.79, 120,20211019
-80.89, 130,20211020
-82.44, 140,20211020
-82.43, 150,20211023
-80.94, 160,20211023
-80.11 170,20211025
-78.18, 180,20211025
I would like to have two different kind of plot :
- first one a plot with X = date, Y1 = depth Y2=Value ; where I would have one point (for each date) equal to the mean value for each date
- second, same configuration X = date, Y1 = depth Y2=Value, but instead of the point a boxplot depending of all the "value" value for each date
I really don't know how to explain so don't hesite to ask if you need more info about it
Thanks a lot