[R] Dry Spell Problem.

2014-10-20 Thread Frederic Ntirenganya
Dear All, I want to solve the following problem on a climatic dataset. It contains Year, Day and Rain as Columns names. Ex: head(Samaru56) Year Day Rain 1 1928 10 2 1928 20 3 1928 30 4 1928 40 5 1928 50 6 1928 60 The first day from April 01 that gets more

Re: [R] Dry Spell Problem.

2014-10-20 Thread Pascal Oettli
Hi, Did you have a look at the dw.spell function from the RMRAINGEN package? It might be a starting point for you. Regards, Pascal On Mon, Oct 20, 2014 at 4:47 PM, Frederic Ntirenganya ntfr...@gmail.com wrote: Dear All, I want to solve the following problem on a climatic dataset. It contains