Re: [R] Count number of rain more than zero in matrix form

2015-10-01 Thread Duncan Mackay
R-help [mailto:r-help-boun...@r-project.org] On Behalf Of smart hendsome Sent: Thursday, 1 October 2015 12:47 To: r-help@r-project.org Subject: [R] Count number of rain more than zero in matrix form Hello R-users, I want to ask how to count the number of daily rain data. My data using dput() as

Re: [R] Count number of rain more than zero in matrix form

2015-10-01 Thread PIKAL Petr
01, 2015 8:53 AM To: PIKAL Petr Subject: Re: [R] Count number of rain more than zero in matrix form Hi PIKAL, Thanks for your reply, I dont know how to send my data after using the dput(). I also attached my real data in csv format. I have tried using the function length but not working. Can you h

Re: [R] Count number of rain more than zero in matrix form

2015-09-30 Thread PIKAL Petr
31961 3 HTH Cheers Petr > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of smart > hendsome > Sent: Thursday, October 01, 2015 4:47 AM > To: r-help@r-project.org > Subject: [R] Count number of rain more than zero in matrix form > > H

[R] Count number of rain more than zero in matrix form

2015-09-30 Thread smart hendsome
Hello R-users, I want to ask how to count the number of daily rain data.  My data using dput() as below: structure(list(Year = c(1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L, 1960L,