Dar all, I have a txt file with 4 column data about daily maximum temperature for some years. I need to find the number of heat waves and : Average (+ standard deviation) and maximum duration of the heatwave, ? The number of heat waves, ? The number of days in the summer heat wave . txt file is like this: year month day temmax 1879 1 1 7,8 1879 1 2 7,5 1879 1 3 5,6 1879 1 4 6,2 1879 1 5 4 1879 1 6 -0,9 1879 1 7 -3 1879 1 8 -2,6 1879 1 9 -4,6 1879 1 10 -3,2 1879 1 11 -0,4 1879 1 12 3 1879 1 13 1,2 1879 1 14 -1,4 1879 1 15 0 1879 1 16 -2,4 1879 1 17 -3 1879 1 18 0,5 1879 1 19 0,6 1879 1 20 -2,6 [[alternative HTML version deleted]]
I think much depends on how you define heat wave. --Chris Ryan Broome County Health Department Binghamton, NY USA On Mon, Jul 18, 2016 at 6:16 AM, Damjan / <damjanfaks2015 at gmail.com> wrote:> Dar all, > > I have a txt file with 4 column data about daily maximum temperature for > some years. > > I need to find the number of heat waves and : > > Average (+ standard deviation) and maximum duration of the heatwave, ? The > number of heat waves, ? The number of days in the summer heat wave . > > txt file is like this: > > year month day temmax 1879 1 1 7,8 1879 1 2 7,5 1879 1 3 5,6 1879 1 > 4 6,2 1879 1 5 4 1879 1 6 -0,9 1879 1 7 -3 1879 1 8 -2,6 1879 1 9 -4,6 1879 > 1 10 -3,2 1879 1 11 -0,4 1879 1 12 3 1879 1 13 1,2 1879 1 14 -1,4 1879 1 15 > 0 1879 1 16 -2,4 1879 1 17 -3 1879 1 18 0,5 1879 1 19 0,6 1879 1 20 -2,6 > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
On 19/07/16 04:58, Christopher W Ryan wrote:> I think much depends on how you define heat wave. > > --Chris Ryan > Broome County Health Department > Binghamton, NY USACheck out: @Article{Wong:2015:ASA, author = {T. S. T. Wong}, title = {Statistical Analysis of Heat Waves in the State of {Victoria} in {Australia}}, journal = {Australian \& New Zealand Journal of Statistics}, volume = {57}, pages = {463--480}, year = {2015} } for some relevant discussion. cheers, Rolf Turner -- Technical Editor ANZJS Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276> > On Mon, Jul 18, 2016 at 6:16 AM, Damjan / <damjanfaks2015 at gmail.com> wrote: >> Dar all, >> >> I have a txt file with 4 column data about daily maximum temperature for >> some years. >> >> I need to find the number of heat waves and : >> >> Average (+ standard deviation) and maximum duration of the heatwave, ? The >> number of heat waves, ? The number of days in the summer heat wave . >> >> txt file is like this: >> >> year month day temmax 1879 1 1 7,8 1879 1 2 7,5 1879 1 3 5,6 1879 1 >> 4 6,2 1879 1 5 4 1879 1 6 -0,9 1879 1 7 -3 1879 1 8 -2,6 1879 1 9 -4,6 1879 >> 1 10 -3,2 1879 1 11 -0,4 1879 1 12 3 1879 1 13 1,2 1879 1 14 -1,4 1879 1 15 >> 0 1879 1 16 -2,4 1879 1 17 -3 1879 1 18 0,5 1879 1 19 0,6 1879 1 20 -2,6