[R] Counting number of rain
John Kane
jrkrideau at inbox.com
Tue Sep 8 17:05:17 CEST 2015
Assuming your data is already in R format please sent it dput() format. See ?dput or http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and http://adv-r.had.co.nz/Reproducibility.html for more details.
John Kane
Kingston ON Canada
> -----Original Message-----
> From: r-help at r-project.org
> Sent: Tue, 8 Sep 2015 06:58:58 +0000 (UTC)
> To: r-help at r-project.org
> Subject: [R] Counting number of rain
>
> Hello R-users,
> I want to ask how to count the number of daily rain data. My data as
> below:
> Year Month Day Amount 1901 1 1 0 1901 1 2 3 1901 1 3 0 1901 1 4 0.5 1901
> 1 5 0 1901 1 6 0 1901 1 7 0.3 1901 1 8 0 1901 1 9 0 1901 1 10 0 1901 1
> 11 0.5 1901 1 12 1.8 1901 1 13 0 1901 1 14 0 1901 1 15 2.5 1901 1 16 0
> 1901 1 17 0 1901 1 18 0 1901 1 19 0 1901 1 20 0 1901 1 21 0 1901 1 22 0
> 1901 1 23 0 1901 1 24 0 1901 1 25 0 1901 1 26 16.5 1901 1 27 0.3 1901 1
> 28 0 1901 1 29 0 1901 1 30 0 1901 1 31 0 1901 2 1 0 1901 2 2 0 1901 2 3 0
> 1901 2 4 0 1901 2 5 0 1901 2 6 0 1901 2 7 0 1901 2 8 0.3 1901 2 9 0 1901
> 2 10 0 1901 2 11 0 1901 2 12 1 1901 2 13 0.3 1901 2 14 0 1901 2 15 0 1901
> 2 16 0 1901 2 17 0 1901 2 18 0 1901 2 19 0 1901 2 20 0 1901 2 21 0 1901 2
> 22 0 1901 2 23 0.3 1901 2 24 0 1901 2 25 0 1901 2 26 0.3 1901 2 27 0 1901
> 2 28 0 1901 3 1 0 1901 3 2 0.8 1901 3 3 2.3 1901 3 4 0 1901 3 5 0 1901 3
> 6 0 1901 3 7 0 1901 3 8 0 1901 3 9 0 1901 3 10 2 1901 3 11 0 1901 3 12 0
> 1901 3 13 0 1901 3 14 0 1901 3 15 0 1901 3 16 0 1901 3 17 0 1901 3 18 0
> 1901 3 19 0 1901 3 20 0 1901 3 21 0 1901 3 22 1.5 1901 3 23 1.3 1901 3 24
> 0 1901 3 25 0 1901 3 26 0 1901 3 27 0 1901 3 28 0.3 1901 3 29 0.3 1901 3
> 30 4.6 1901 3 31 0 1901 4 1 0 1901 4 2 4.6 1901 4 3 30.7 1901 4 4 0 1901
> 4 5 0 1901 4 6 0 1901 4 7 0 1901 4 8 0 1901 4 9 0 1901 4 10 0 1901 4 11 0
> 1901 4 12 0 1901 4 13 0 1901 4 14 0 1901 4 15 0.3 1901 4 16 1.3 1901 4 17
> 0 1901 4 18 0 1901 4 19 0.3 1901 4 20 1 1901 4 21 9.4 1901 4 22 0.5 1901
> 4 23 0.3 1901 4 24 0 1901 4 25 0 1901 4 26 0 1901 4 27 0 1901 4 28 0 1901
> 4 29 0 1901 4 30 0 1901 5 1 0 1901 5 2 0 1901 5 3 0 1901 5 4 0 1901 5 5 0
> 1901 5 6 0 1901 5 7 0 1901 5 8 0.5 1901 5 9 2.3 1901 5 10 0.3 1901 5 11
> 0 1901 5 12 0 1901 5 13 0 1901 5 14 0 1901 5 15 0 1901 5 16 0 1901 5 17 0
> 1901 5 18 0 1901 5 19 0 1901 5 20 0 1901 5 21 0.5 1901 5 22 0 1901 5 23 0
> 1901 5 24 0 1901 5 25 0 1901 5 26 4.8 1901 5 27 10.9 1901 5 28 3.6 1901 5
> 29 0 1901 5 30 0 1901 5 31 5.1 1901 6 1 0.5 1901 6 2 0 1901 6 3 2 1901 6
> 4 0 1901 6 5 10.2 1901 6 6 33.3 1901 6 7 0.3 1901 6 8 0 1901 6 9 0 1901
> 6 10 0.5 1901 6 11 0.5 1901 6 12 0.3 1901 6 13 2.8 1901 6 14 5.6 1901 6
> 15 0.3 1901 6 16 6.6 1901 6 17 14.2 1901 6 18 4.8 1901 6 19 8.4 1901 6
> 20 1.8 1901 6 21 1.8 1901 6 22 0.3 1901 6 23 8.6 1901 6 24 0 1901 6 25 0
> 1901 6 26 0 1901 6 27 0 1901 6 28 0 1901 6 29 0 1901 6 30 0 1901 7 1 0
> 1901 7 2 0 1901 7 3 0 1901 7 4 0 1901 7 5 1 1901 7 6 0.5 1901 7 7 0.3
> 1901 7 8 0.3 1901 7 9 6.1 1901 7 10 0.3 1901 7 11 1.5 1901 7 12 0 1901 7
> 13 1.5 1901 7 14 0.3 1901 7 15 3.3 1901 7 16 2.3 1901 7 17 0.5 1901 7 18
> 0 1901 7 19 0 1901 7 20 0 1901 7 21 1.8 1901 7 22 0 1901 7 23 1 1901 7 24
> 0.3 1901 7 25 0.3 1901 7 26 1.3 1901 7 27 17 1901 7 28 6.6 1901 7 29 6.1
> 1901 7 30 0.5 1901 7 31 0.3 1901 8 1 0 1901 8 2 0 1901 8 3 0 1901 8 4 0
> 1901 8 5 0 1901 8 6 3.3 1901 8 7 4.1 1901 8 8 0.3 1901 8 9 0 1901 8 10 0
> 1901 8 11 0 1901 8 12 0 1901 8 13 0 1901 8 14 0 1901 8 15 0 1901 8 16 0
> 1901 8 17 0.5 1901 8 18 0 1901 8 19 0 1901 8 20 0 1901 8 21 0 1901 8 22 0
> 1901 8 23 0.3 1901 8 24 1 1901 8 25 0 1901 8 26 0 1901 8 27 10.2 1901 8
> 28 1.5 1901 8 29 0.5 1901 8 30 1.3 1901 8 31 0 1901 9 1 0 1901 9 2 3
> 1901 9 3 1 1901 9 4 0.5 1901 9 5 0.3 1901 9 6 0 1901 9 7 0 1901 9 8 2.3
> 1901 9 9 0.3 1901 9 10 0 1901 9 11 0 1901 9 12 0 1901 9 13 0 1901 9 14 0
> 1901 9 15 0 1901 9 16 0 1901 9 17 0 1901 9 18 1.8 1901 9 19 8.1 1901 9 20
> 0.3 1901 9 21 5.8 1901 9 22 4.1 1901 9 23 0.3 1901 9 24 1.8 1901 9 25 0
> 1901 9 26 0 1901 9 27 0 1901 9 28 0 1901 9 29 1.8 1901 9 30 0.8 1901 10
> 1 0 1901 10 2 0 1901 10 3 0 1901 10 4 0 1901 10 5 0.3 1901 10 6 0 1901 10
> 7 0 1901 10 8 0 1901 10 9 0 1901 10 10 0 1901 10 11 0.3 1901 10 12 3.8
> 1901 10 13 0.4 1901 10 14 9 1901 10 15 2 1901 10 16 1 1901 10 17 0 1901
> 10 18 0 1901 10 19 0 1901 10 20 0.3 1901 10 21 0 1901 10 22 0 1901 10 23
> 0 1901 10 24 0 1901 10 25 0 1901 10 26 0 1901 10 27 14.5 1901 10 28 6.4
> 1901 10 29 0.8 1901 10 30 0 1901 10 31 0 1901 11 1 0 1901 11 2 0 1901 11
> 3 0 1901 11 4 0 1901 11 5 0 1901 11 6 0 1901 11 7 0 1901 11 8 0 1901 11
> 9 0 1901 11 10 0 1901 11 11 0 1901 11 12 5.1 1901 11 13 0.3 1901 11 14
> 5.8 1901 11 15 0 1901 11 16 0 1901 11 17 1 1901 11 18 0.5 1901 11 19 0
> 1901 11 20 0 1901 11 21 0 1901 11 22 0 1901 11 23 0 1901 11 24 0 1901 11
> 25 0.3 1901 11 26 0 1901 11 27 0 1901 11 28 0 1901 11 29 0 1901 11 30 3.3
> 1901 12 1 0 1901 12 2 0 1901 12 3 0 1901 12 4 0 1901 12 5 0 1901 12 6 0
> 1901 12 7 0 1901 12 8 0 1901 12 9 0 1901 12 10 0 1901 12 11 0 1901 12 12
> 0 1901 12 13 0 1901 12 14 0 1901 12 15 0 1901 12 16 0 1901 12 17 0 1901
> 12 18 0 1901 12 19 0 1901 12 20 0 1901 12 21 6.1 1901 12 22 5.6 1901 12
> 23 0 1901 12 24 0 1901 12 25 0 1901 12 26 0 1901 12 27 0 1901 12 28 0
> 1901 12 29 0 1901 12 30 0 1901 12 31 9.9 1902 1 1 0 1902 1 2 0 1902 1 3 0
> 1902 1 4 4.1 1902 1 5 0 1902 1 6 0 1902 1 7 0 1902 1 8 0 1902 1 9 2.5
> 1902 1 10 0 1902 1 11 0 1902 1 12 0 1902 1 13 0.3 1902 1 14 0 1902 1 15 0
> 1902 1 16 0 1902 1 17 0 1902 1 18 0 1902 1 19 0 1902 1 20 0.3 1902 1 21
> 0.8 1902 1 22 1.8 1902 1 23 0 1902 1 24 0 1902 1 25 0 1902 1 26 2.8 1902
> 1 27 0 1902 1 28 0.3 1902 1 29 0 1902 1 30 0 1902 1 31 0 1902 2 1 2.8
> 1902 2 2 0 1902 2 3 0.3 1902 2 4 0 1902 2 5 0 1902 2 6 0 1902 2 7 0 1902
> 2 8 0 1902 2 9 0 1902 2 10 0 1902 2 11 0 1902 2 12 5.6 1902 2 13 0 1902
> 2 14 0 1902 2 15 0 1902 2 16 0 1902 2 17 0 1902 2 18 0 1902 2 19 0 1902 2
> 20 0.8 1902 2 21 0 1902 2 22 0 1902 2 23 0 1902 2 24 2.8 1902 2 25 2.8
> 1902 2 26 0 1902 2 27 0 1902 2 28 0 1902 3 1 0 1902 3 2 0 1902 3 3 0 1902
> 3 4 0 1902 3 5 0 1902 3 6 0 1902 3 7 0 1902 3 8 0 1902 3 9 0 1902 3 10 0
> 1902 3 11 0 1902 3 12 0 1902 3 13 0 1902 3 14 0 1902 3 15 0 1902 3 16 0
> 1902 3 17 0 1902 3 18 0 1902 3 19 0 1902 3 20 0 1902 3 21 0 1902 3 22 0
> 1902 3 23 0 1902 3 24 0 1902 3 25 4.8 1902 3 26 11.9 1902 3 27 3.8 1902
> 3 28 1.8 1902 3 29 0 1902 3 30 0 1902 3 31 0 1902 4 1 0 1902 4 2 0 1902 4
> 3 0 1902 4 4 0 1902 4 5 0 1902 4 6 0 1902 4 7 0 1902 4 8 0 1902 4 9 2.5
> 1902 4 10 0 1902 4 11 0 1902 4 12 0 1902 4 13 0 1902 4 14 0 1902 4 15 0
> 1902 4 16 0 1902 4 17 0 1902 4 18 0 1902 4 19 0 1902 4 20 0 1902 4 21 0
> 1902 4 22 0 1902 4 23 0 1902 4 24 0 1902 4 25 0 1902 4 26 1.3 1902 4 27
> 8.1 1902 4 28 0 1902 4 29 0 1902 4 30 0 1902 5 1 0 1902 5 2 0 1902 5 3 0
> 1902 5 4 0 1902 5 5 0 1902 5 6 3 1902 5 7 3.8 1902 5 8 4.3 1902 5 9 2.8
> 1902 5 10 3 1902 5 11 0 1902 5 12 0.5 1902 5 13 2 1902 5 14 0 1902 5 15
> 0.3 1902 5 16 0.8 1902 5 17 0.3 1902 5 18 0 1902 5 19 0 1902 5 20 0 1902
> 5 21 0 1902 5 22 0 1902 5 23 0 1902 5 24 0 1902 5 25 0 1902 5 26 0 1902
> 5 27 0 1902 5 28 0 1902 5 29 0.3 1902 5 30 1.8 1902 5 31 0 1902 6 1 5.3
> 1902 6 2 0 1902 6 3 0 1902 6 4 0.3 1902 6 5 0 1902 6 6 0 1902 6 7 4.6
> 1902 6 8 5.1 1902 6 9 12.4 1902 6 10 5.3 1902 6 11 0.3 1902 6 12 0 1902 6
> 13 0 1902 6 14 3 1902 6 15 4.1 1902 6 16 7.4 1902 6 17 5.1 1902 6 18 8.1
> 1902 6 19 18.3 1902 6 20 3.3 1902 6 21 16.5 1902 6 22 0.5 1902 6 23 0
> 1902 6 24 0 1902 6 25 0 1902 6 26 0 1902 6 27 0 1902 6 28 0 1902 6 29 0
> 1902 6 30 0 1902 7 1 0 1902 7 2 0 1902 7 3 0 1902 7 4 0 1902 7 5 0 1902
> 7 6 1.8 1902 7 7 0 1902 7 8 0 1902 7 9 0 1902 7 10 1 1902 7 11 0.3 1902 7
> 12 0 1902 7 13 0.8 1902 7 14 0 1902 7 15 0 1902 7 16 0 1902 7 17 0.8
> 1902 7 18 0 1902 7 19 1.3 1902 7 20 0.5 1902 7 21 0 1902 7 22 1.5 1902 7
> 23 1.3 1902 7 24 2.5 1902 7 25 9.4 1902 7 26 0.3 1902 7 27 0 1902 7 28 0
> 1902 7 29 0 1902 7 30 5.1 1902 7 31 2 1902 8 1 0 1902 8 2 3 1902 8 3 1.8
> 1902 8 4 0 1902 8 5 0.5 1902 8 6 3.3 1902 8 7 3.8 1902 8 8 0 1902 8 9 0
> 1902 8 10 0 1902 8 11 0.3 1902 8 12 0 1902 8 13 0 1902 8 14 0 1902 8 15 0
> 1902 8 16 0 1902 8 17 0 1902 8 18 0 1902 8 19 0 1902 8 20 0 1902 8 21 0
> 1902 8 22 0 1902 8 23 1.5 1902 8 24 2.8 1902 8 25 0 1902 8 26 0 1902 8
> 27 5.8 1902 8 28 0 1902 8 29 1.5 1902 8 30 0 1902 8 31 0 1902 9 1 0 1902
> 9 2 2.5 1902 9 3 0.8 1902 9 4 0.8 1902 9 5 0 1902 9 6 0 1902 9 7 0 1902 9
> 8 0 1902 9 9 0 1902 9 10 0 1902 9 11 9.4 1902 9 12 0.5 1902 9 13 6.6
> 1902 9 14 0.5 1902 9 15 2.8 1902 9 16 4.1 1902 9 17 6.9 1902 9 18 0.5
> 1902 9 19 0 1902 9 20 0 1902 9 21 0 1902 9 22 0 1902 9 23 0 1902 9 24 0
> 1902 9 25 0 1902 9 26 1.8 1902 9 27 0.3 1902 9 28 0.3 1902 9 29 0 1902 9
> 30 0 1902 10 1 0.8 1902 10 2 1.5 1902 10 3 2 1902 10 4 0 1902 10 5 0
> 1902 10 6 0.3 1902 10 7 0.5 1902 10 8 1 1902 10 9 0 1902 10 10 1 1902 10
> 11 10.9 1902 10 12 0.3 1902 10 13 0 1902 10 14 0 1902 10 15 0 1902 10 16
> 0 1902 10 17 0 1902 10 18 2.3 1902 10 19 0.3 1902 10 20 0 1902 10 21 0
> 1902 10 22 1.8 1902 10 23 0.5 1902 10 24 1.5 1902 10 25 0 1902 10 26 0
> 1902 10 27 1 1902 10 28 5.3 1902 10 29 0 1902 10 30 0 1902 10 31 0 1902
> 11 1 0 1902 11 2 0 1902 11 3 0 1902 11 4 0 1902 11 5 0 1902 11 6 0.8 1902
> 11 7 0.3 1902 11 8 0.5 1902 11 9 1 1902 11 10 0 1902 11 11 0 1902 11 12 0
> 1902 11 13 7.1 1902 11 14 0.3 1902 11 15 0 1902 11 16 0 1902 11 17 0 1902
> 11 18 0 1902 11 19 0.3 1902 11 20 1 1902 11 21 0 1902 11 22 0 1902 11 23
> 0 1902 11 24 0 1902 11 25 0 1902 11 26 0 1902 11 27 0 1902 11 28 0 1902
> 11 29 0 1902 11 30 0 1902 12 1 0 1902 12 2 0 1902 12 3 0 1902 12 4 0
> 1902 12 5 1.8 1902 12 6 6.9 1902 12 7 0 1902 12 8 0 1902 12 9 0 1902 12
> 10 0.5 1902 12 11 4.8 1902 12 12 0 1902 12 13 0 1902 12 14 0 1902 12 15 0
> 1902 12 16 0.8 1902 12 17 15.5 1902 12 18 11.7 1902 12 19 9.4 1902 12 20
> 0.3 1902 12 21 0 1902 12 22 0 1902 12 23 0 1902 12 24 0.3 1902 12 25 0.3
> 1902 12 26 0 1902 12 27 0 1902 12 28 0 1902 12 29 0 1902 12 30 0 1902 12
> 31 0 1903 1 1 0 1903 1 2 0 1903 1 3 1.3 1903 1 4 2 1903 1 5 0 1903 1 6
> 3.6 1903 1 7 0 1903 1 8 0 1903 1 9 0 1903 1 10 0 1903 1 11 0 1903 1 12 0
> 1903 1 13 0 1903 1 14 0 1903 1 15 0 1903 1 16 0 1903 1 17 0 1903 1 18 0
> 1903 1 19 0 1903 1 20 0 1903 1 21 10.2 1903 1 22 3 1903 1 23 0 1903 1 24
> 0 1903 1 25 0 1903 1 26 0 1903 1 27 0 1903 1 28 0 1903 1 29 0 1903 1 30 0
> 1903 1 31 0 1903 2 1 0 1903 2 2 0.3 1903 2 3 0 1903 2 4 0 1903 2 5 0
> 1903 2 6 0 1903 2 7 0 1903 2 8 0 1903 2 9 0 1903 2 10 0 1903 2 11 0 1903
> 2 12 0 1903 2 13 0 1903 2 14 10.2 1903 2 15 13.5 1903 2 16 7.9 1903 2 17
> 0.5 1903 2 18 0 1903 2 19 0 1903 2 20 0 1903 2 21 0 1903 2 22 0 1903 2 23
> 0 1903 2 24 0 1903 2 25 0 1903 2 26 0 1903 2 27 0 1903 2 28 0 1903 3 1 0
> 1903 3 2 0.5 1903 3 3 0 1903 3 4 21.3 1903 3 5 2 1903 3 6 0 1903 3 7 0
> 1903 3 8 20.1 1903 3 9 21.6 1903 3 10 0 1903 3 11 0 1903 3 12 0 1903 3 13
> 0 1903 3 14 3.3 1903 3 15 0 1903 3 16 0 1903 3 17 0 1903 3 18 0 1903 3 19
> 0 1903 3 20 0 1903 3 21 0 1903 3 22 0 1903 3 23 0 1903 3 24 2.8 1903 3
> 25 0 1903 3 26 0 1903 3 27 0 1903 3 28 0 1903 3 29 0 1903 3 30 0 1903 3
> 31 0 1903 4 1 0 1903 4 2 0 1903 4 3 0 1903 4 4 6.6 1903 4 5 17.5 1903 4
> 6 3.3 1903 4 7 0 1903 4 8 0 1903 4 9 0 1903 4 10 0 1903 4 11 5.8 1903 4
> 12 0 1903 4 13 0 1903 4 14 0 1903 4 15 0 1903 4 16 0 1903 4 17 2 1903 4
> 18 1.5 1903 4 19 0 1903 4 20 0 1903 4 21 0 1903 4 22 0.3 1903 4 23 0 1903
> 4 24 2.3 1903 4 25 8.6 1903 4 26 15.2 1903 4 27 3.3 1903 4 28 0 1903 4 29
> 0 1903 4 30 2 1903 5 1 1.3 1903 5 2 0 1903 5 3 0 1903 5 4 0 1903 5 5 0
> 1903 5 6 0 1903 5 7 0 1903 5 8 11.4 1903 5 9 0 1903 5 10 0 1903 5 11 1.3
> 1903 5 12 0 1903 5 13 0 1903 5 14 0 1903 5 15 0 1903 5 16 0 1903 5 17 0
> 1903 5 18 0 1903 5 19 0.3 1903 5 20 11.7 1903 5 21 11.2 1903 5 22 3.3
> 1903 5 23 0.3 1903 5 24 0 1903 5 25 0 1903 5 26 1 1903 5 27 0 1903 5 28 0
> 1903 5 29 0 1903 5 30 2.5 1903 5 31 0 1903 6 1 0 1903 6 2 0 1903 6 3 3
> 1903 6 4 5.1 1903 6 5 4.3 1903 6 6 11.7 1903 6 7 15.7 1903 6 8 10.7 1903
> 6 9 1.5 1903 6 10 2 1903 6 11 5.8 1903 6 12 3.3 1903 6 13 1 1903 6 14
> 1.5 1903 6 15 4.6 1903 6 16 5.1 1903 6 17 0.3 1903 6 18 0 1903 6 19 1.3
> 1903 6 20 0.5 1903 6 21 0 1903 6 22 0 1903 6 23 8.9 1903 6 24 0.3 1903 6
> 25 0 1903 6 26 5.1 1903 6 27 0 1903 6 28 0 1903 6 29 0 1903 6 30 0 1903 7
> 1 0.3 1903 7 2 7.1 1903 7 3 0.5 1903 7 4 9.4 1903 7 5 0.5 1903 7 6 4.8
> 1903 7 7 0.3 1903 7 8 0 1903 7 9 4.1 1903 7 10 0.3 1903 7 11 0 1903 7 12
> 0 1903 7 13 0 1903 7 14 3.6 1903 7 15 4.6 1903 7 16 0 1903 7 17 0 1903 7
> 18 0 1903 7 19 11.2 1903 7 20 0.3 1903 7 21 0 1903 7 22 0 1903 7 23 0
> 1903 7 24 0 1903 7 25 0 1903 7 26 0 1903 7 27 0 1903 7 28 5.1 1903 7 29
> 4.8 1903 7 30 0.8 1903 7 31 1.3 1903 8 1 0.3 1903 8 2 0.5 1903 8 3 0 1903
> 8 4 0.8 1903 8 5 0.3 1903 8 6 0 1903 8 7 0 1903 8 8 0 1903 8 9 0 1903 8
> 10 0 1903 8 11 2.5 1903 8 12 1.3 1903 8 13 0 1903 8 14 0 1903 8 15 0 1903
> 8 16 2 1903 8 17 0 1903 8 18 1.5 1903 8 19 0 1903 8 20 0.8 1903 8 21 6.1
> 1903 8 22 0 1903 8 23 0.5 1903 8 24 0 1903 8 25 0 1903 8 26 0.5 1903 8 27
> 0 1903 8 28 0 1903 8 29 0 1903 8 30 0.5 1903 8 31 34.5 1903 9 1 0.3 1903
> 9 2 6.1 1903 9 3 0 1903 9 4 0 1903 9 5 6.9 1903 9 6 2.5 1903 9 7 3.6 1903
> 9 8 0.5 1903 9 9 0 1903 9 10 0 1903 9 11 0 1903 9 12 0 1903 9 13 4.1 1903
> 9 14 0 1903 9 15 0 1903 9 16 0 1903 9 17 15.7 1903 9 18 4.1 1903 9 19 0.3
> 1903 9 20 0 1903 9 21 0 1903 9 22 0 1903 9 23 0.8 1903 9 24 1.3 1903 9
> 25 10.4 1903 9 26 0 1903 9 27 0 1903 9 28 0.5 1903 9 29 9.7 1903 9 30 0
> 1903 10 1 0.3 1903 10 2 0 1903 10 3 0.3 1903 10 4 0 1903 10 5 0 1903 10 6
> 0 1903 10 7 0 1903 10 8 0 1903 10 9 0 1903 10 10 2.3 1903 10 11 0.3 1903
> 10 12 0 1903 10 13 0 1903 10 14 0 1903 10 15 4.6 1903 10 16 1 1903 10 17
> 0 1903 10 18 0 1903 10 19 0 1903 10 20 5.8 1903 10 21 0 1903 10 22 0.3
> 1903 10 23 0 1903 10 24 0.5 1903 10 25 0 1903 10 26 0 1903 10 27 0 1903
> 10 28 0 1903 10 29 0 1903 10 30 0 1903 10 31 0 1903 11 1 14.5 1903 11 2
> 0 1903 11 3 0 1903 11 4 0 1903 11 5 0 1903 11 6 0 1903 11 7 0 1903 11 8 0
> 1903 11 9 0 1903 11 10 0.8 1903 11 11 0.8 1903 11 12 0 1903 11 13 0 1903
> 11 14 0 1903 11 15 1.7 1903 11 16 2.1 1903 11 17 0 1903 11 18 0 1903 11
> 19 0 1903 11 20 0 1903 11 21 0 1903 11 22 0 1903 11 23 1 1903 11 24 2.5
> 1903 11 25 0.3 1903 11 26 9.1 1903 11 27 2.5 1903 11 28 9.9 1903 11 29
> 16.8 1903 11 30 0.8 1903 12 1 0 1903 12 2 0 1903 12 3 0 1903 12 4 0 1903
> 12 5 0 1903 12 6 0 1903 12 7 0 1903 12 8 0 1903 12 9 0 1903 12 10 0 1903
> 12 11 15.5 1903 12 12 0.5 1903 12 13 1.8 1903 12 14 15.7 1903 12 15 0
> 1903 12 16 0 1903 12 17 0 1903 12 18 0 1903 12 19 0.3 1903 12 20 2.8 1903
> 12 21 0 1903 12 22 0 1903 12 23 0 1903 12 24 0 1903 12 25 0 1903 12 26 0
> 1903 12 27 33.5 1903 12 28 0 1903 12 29 0 1903 12 30 0 1903 12 31 0 1904
> 1 1 2 1904 1 2 2 1904 1 3 33.8 1904 1 4 0.3 1904 1 5 0 1904 1 6 0 1904 1
> 7 0 1904 1 8 0 1904 1 9 0 1904 1 10 0 1904 1 11 0 1904 1 12 0 1904 1 13
> 0 1904 1 14 0 1904 1 15 0 1904 1 16 0 1904 1 17 0 1904 1 18 0 1904 1 19
> 0 1904 1 20 0 1904 1 21 2.8 1904 1 22 18 1904 1 23 1.8 1904 1 24 0 1904 1
> 25 0 1904 1 26 2 1904 1 27 4.6 1904 1 28 0 1904 1 29 0 1904 1 30 0 1904 1
> 31 0 1904 2 1 0 1904 2 2 0 1904 2 3 0 1904 2 4 0 1904 2 5 0 1904 2 6 1.8
> 1904 2 7 0 1904 2 8 0 1904 2 9 0 1904 2 10 0 1904 2 11 0 1904 2 12 0.8
> 1904 2 13 0 1904 2 14 0 1904 2 15 0 1904 2 16 0 1904 2 17 0 1904 2 18 0
> 1904 2 19 1.3 1904 2 20 0 1904 2 21 0 1904 2 22 0.5 1904 2 23 0 1904 2 24
> 0.3 1904 2 25 0 1904 2 26 8.9 1904 2 27 1.5 1904 2 28 0 1904 2 29 0 1904
> 3 1 0 1904 3 2 0 1904 3 3 0 1904 3 4 0 1904 3 5 0 1904 3 6 0 1904 3 7 0
> 1904 3 8 0 1904 3 9 0 1904 3 10 0 1904 3 11 0 1904 3 12 0 1904 3 13 0
> 1904 3 14 0 1904 3 15 0 1904 3 16 6.1 1904 3 17 0 1904 3 18 0 1904 3 19 0
> 1904 3 20 1.5 1904 3 21 0.8 1904 3 22 0 1904 3 23 0 1904 3 24 0 1904 3 25
> 0 1904 3 26 0 1904 3 27 0 1904 3 28 0 1904 3 29 0 1904 3 30 0 1904 3 31 0
> 1904 4 1 0 1904 4 2 0 1904 4 3 0 1904 4 4 0 1904 4 5 0 1904 4 6 0 1904 4
> 7 0 1904 4 8 0 1904 4 9 0 1904 4 10 0 1904 4 11 0 1904 4 12 0 1904 4 13
> 0 1904 4 14 0 1904 4 15 0 1904 4 16 0 1904 4 17 0 1904 4 18 23.6 1904 4
> 19 10.9 1904 4 20 0 1904 4 21 2.5 1904 4 22 1.8 1904 4 23 0 1904 4 24 0
> 1904 4 25 0 1904 4 26 0 1904 4 27 2 1904 4 28 1 1904 4 29 0 1904 4 30 0
> 1904 5 1 0 1904 5 2 0 1904 5 3 0 1904 5 4 0.5 1904 5 5 0 1904 5 6 7.4
> 1904 5 7 0.3 1904 5 8 0 1904 5 9 3.8 1904 5 10 0 1904 5 11 0 1904 5 12 0
> 1904 5 13 0 1904 5 14 0 1904 5 15 0 1904 5 16 3.6 1904 5 17 8.6 1904 5 18
> 0 1904 5 19 0 1904 5 20 0 1904 5 21 5.3 1904 5 22 4.3 1904 5 23 0 1904 5
> 24 0 1904 5 25 0 1904 5 26 0 1904 5 27 0 1904 5 28 0 1904 5 29 0 1904 5
> 30 18.8 1904 5 31 5.3 1904 6 1 1 1904 6 2 0.3 1904 6 3 0 1904 6 4 0 1904
> 6 5 0 1904 6 6 0 1904 6 7 1.3 1904 6 8 0 1904 6 9 0 1904 6 10 0 1904 6 11
> 1.8 1904 6 12 8.4 1904 6 13 0 1904 6 14 0.8 1904 6 15 0 1904 6 16 0.3
> 1904 6 17 15.2 1904 6 18 13.7 1904 6 19 1.8 1904 6 20 0.5 1904 6 21 0
> 1904 6 22 7.6 1904 6 23 5.1 1904 6 24 1.3 1904 6 25 0 1904 6 26 0 1904 6
> 27 0 1904 6 28 0.5 1904 6 29 13 1904 6 30 30.5 1904 7 1 8.6 1904 7 2 1.5
> 1904 7 3 1.3 1904 7 4 0 1904 7 5 0 1904 7 6 0.8 1904 7 7 1 1904 7 8 1
> 1904 7 9 0 1904 7 10 0 1904 7 11 0 1904 7 12 0 1904 7 13 11.2 1904 7 14
> 4.8 1904 7 15 7.6 1904 7 16 3.6 1904 7 17 0 1904 7 18 0.5 1904 7 19 0
> 1904 7 20 0.3 1904 7 21 0 1904 7 22 0 1904 7 23 0 1904 7 24 15.5 1904 7
> 25 4.6 1904 7 26 1.3 1904 7 27 1 1904 7 28 0.5 1904 7 29 0 1904 7 30 0
> 1904 7 31 0 1904 8 1 0 1904 8 2 0 1904 8 3 0 1904 8 4 0 1904 8 5 0 1904 8
> 6 0 1904 8 7 3.8 1904 8 8 0 1904 8 9 0 1904 8 10 0 1904 8 11 0 1904 8 12
> 0 1904 8 13 9.1 1904 8 14 0 1904 8 15 0 1904 8 16 1.3 1904 8 17 0 1904 8
> 18 0.5 1904 8 19 2.5 1904 8 20 7.1 1904 8 21 0 1904 8 22 0 1904 8 23 2.5
> 1904 8 24 2.8 1904 8 25 0 1904 8 26 0.3
> i want the counting number of rain as follows:
>
> Jan Feb Mar Apr May Jun Jul
> Aug Sep Oct Nov Dec
> 1901 x190219031904
>
> x = number of rain for > 0.000001
>
> Thanks for your help.
>
> [[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.
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
More information about the R-help
mailing list