search for: depth1j

Displaying 1 result from an estimated 1 matches for "depth1j".

Did you mean: depth1
2010 Jun 21
2
Calculating a daily average
...the average temperature of each day. I am able to do this one by one, but with that many days to calculate the average for, it will get very long. I'm sure there is a faster way to do this, I just don't know how. What i have so far is: av1 <- subset(ER9r, Day == 98, select = c (Depth1j:Depth0.75j)) av1 <- mean(av1 [av1>0]) av2 <- subset(ER9r, Day == 99, select = c (Depth1j:Depth0.75j)) av2 <- mean(av2 [av2>0]) av3 <- subset(ER9r, Day == 100, select = c (Depth1j:Depth0.75j)) av3 <- mean(av3 [av3>0]) av4 <- subset(ER9r, Day == 101, select = c (Depth1j:...