Hello
I would like to do a Temp and Salinity profil for my different Area
So I need to do, for each my area the meaning of station. Like for my Area A1, I want to have only one depth at 10m.
For example for the Temp of A1 do the mean using the Temp of my Station1 at 10m and the Temp of my Station2 at 10m
And I would like to do that for all my station and for both Temperature and Salinity
df <- tribble(
~Area, ~station, ~depth, ~Temp, Sal
"A1","St1",10, 2.5, 34.58,
"A1","St1",20, 2.8, 34.78,
"A1","St1",30, 2.6, 34.61,
"A1","St2",10, 2.6, 34.25,
"A1","St2",20, 2.48, 35.02,
"A1","St2",30, 2.54, 34.74,
"A2","St3",10, 2.8, 34.61,
"A2","St3",20, 2.74, 35.13,
"A2","St3",30, 3.05, 33.89,
"A2","St4",10, 3.18, 34023,
"A2","St4",20, 1.05, 34.11,
"A2","St4",30, 2.06, 35.17,
"A3","St5",10, 1.26, 35.06,
"A3","St5",20, 3.15, 34.99,
"A3","St5",30, 2.87, 35.32,
)
I hope I was clear
Thanks