Re: [R] Plot cumulative sums of rainfall per year

2013-03-26 Thread Martin Labadz
istician > City of Portland, Bureau of Environmental Services > Water Pollution Control Laboratory > 6543 N Burlington Avenue > Portland, OR 97203-5452 > 503-823-1038 > jason@portlandoregon.gov > > > -Original Message- > From: r-help-boun...@r-project.org [ma

[R] Plot cumulative sums of rainfall per year

2013-03-25 Thread Martin Labadz
Hi @all, I am biting my nails with the following problem: I have a data set of daily rainfall measurements for the last 20 years. What I want to do is calculate the daily cumulative sum of rainfall but only for every year which means that the cumulative sum has to be reset each year. After the