Displaying 1 result from an estimated 1 matches for "ju1".
Did you mean:
ju
2013 Feb 13
0
seasonal sum and mean and combine multiple, different data frames in .csv
...son[month %in% 1:3] <- paste(year[month %in% 1:3], "Winter")
DF$season[month %in% 4:6] <- paste(year[month %in% 4:6], "Spring")
DF$season[month %in% 7:9] <- paste(year[month %in% 7:9], "Summer")
aggregate(FluxDay ~ season, data=DF, FUN = FUN) # changed here
}
ju1 <- funSumSeason(Dailydo) # this provides the seasonal sum
ju2 <- sapply(split(ju1[,-1],as.numeric(gsub("\\D+","",ju1$season))),sum) # this provides the yearly sum for the calendar year, but I need it for a water year (see above)
Thank-you.
Irucka