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 / <damjanfaks2...@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@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. ______________________________________________ R-help@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.