search for: erle_stat

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

2005 Feb 10
5
Annual cumulative sums from time series
...agriculture from statistica to R - it works surprisingly well. If anyone is interested in my scratch/notepad (in German language), please see www.hydrology.uni-kiel.de/~schorsch/statistik/statistik_datenauswertung.pdf (pages 40-52) The dataset is: www.hydrology.uni-kiel.de/~schorsch/statistik/erle_stat.csv It contains a 10 year dataset. So far for introduction, now comes the problem: we often need cumulative *annual* sums (sunshine, precipitation), i.e. the sum must reset to 0 at the beginning of the year. I know of cumsum(), but I do not now how to split the dataset automagically into annual...