[R] R code, heat wave statistics

Damjan / damjanfaks2015 at gmail.com
Mon Jul 18 12:16:51 CEST 2016


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]]



More information about the R-help mailing list