Displaying 1 result from an estimated 1 matches for "chlsummaryer9".
2010 Jun 21
2
Calculating a daily average
...lt;- subset(ER9r, Day == 101, select = c (Depth1j:Depth0.75j))
av4 <- mean(av4 [av4>0])
av5 <- subset(ER9r, Day == 102, select = c (Depth1j:Depth0.75j))
av5 <- mean(av5 [av5>0])
Depth<- c("SML")
Day<- c(98, 99, 100, 101, 102)
Average<- c(av1, av2, av3, av4, av5)
chlsummaryER9 <- data.frame (Depth, Day, Average)
chlsummaryER9
Any ideas on how to do this in less steps?
Thanks,
Emilija