Re: [R] Deletion of rows

2014-03-17 Thread arun
0, 0, 0, 0, 0.5, 0, 0, 0, 79.7), Jul = c(1.5, 0,  >>5, 2, 0.5, 21.5, 45.4, 0, 0, 0, 14.7, 1.5, 0, 0, 20.3, 0, 1.2,  >>0, 0, 6.3, 0.5, 0, 0, 0, 29.2, 0, 0, 0, 0, 0, 6.3, 0, 16.5, 0,  >>1.5, 1.2, 9.1, 0.7, 0, 1.7), Aug = c(3.8, 0, 0, 0, 0, 0, 0, 0,  >>0, 0, 0, 16.5,

Re: [R] Deletion of rows

2014-03-16 Thread PIKAL Petr
M > To: dila radi; PIKAL Petr > Cc: r-help@r-project.org > Subject: Re: [R] Deletion of rows > > Hi, > > > Try: > res2 <- res1[!is.na(res1$Amount),] > A.K. > > > > > > > On Friday, March 14, 2014 3:41 AM, dila radi > wrote: > > Hi all,

Re: [R] Deletion of rows

2014-03-14 Thread arun
tent row but it all depends on how your data are structured >and what do you want to remove. > >Petr > > > >> -----Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- >> project.org] On Behalf Of dila radi >> Sent: Tuesday, March 11

Re: [R] Deletion of rows

2014-03-14 Thread dila radi
ary if each row is one day? > > I believe that merging your data with date column made by ?seq.POSIXt can > remove any nonexistent row but it all depends on how your data are > structured and what do you want to remove. > > Petr > > > > -Original Message-

Re: [R] Deletion of rows

2014-03-11 Thread PIKAL Petr
structured and what do you want to remove. Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of dila radi > Sent: Tuesday, March 11, 2014 6:04 AM > To: r-help@r-project.org > Subject: [R] Deletion of rows > >

[R] Deletion of rows

2014-03-11 Thread dila radi
Hi, I would like to ask about the deletion of rows in the data. Assuming I have this kind of data set, which you can refer through the attachment. As in the attachment, I have 31 days for each month which is I want to delete some of the rows according to the real days per month. For example: