Re: [R] subsetting and Dates

2013-05-23 Thread David Winsemius
http://r.789695.n4.nabble.com/as-vector-with-mode-quot-list-quot-and-POSIXct-td4667533.html Interesting but I fail to see the connection to this instance other than R behaving somewhat differently than we might at one time have expected. -- David. > > A.K. > > - Original Mess

Re: [R] subsetting and Dates

2013-05-23 Thread arun
. - Original Message - From: Denis Chabot To: arun Cc: R help Sent: Thursday, May 23, 2013 10:06 PM Subject: Re: [R] subsetting and Dates Thank you for the 2 methods to make the columns class Date, but I would really like to know why these variables were not in Date class with my code

Re: [R] subsetting and Dates

2013-05-23 Thread David Winsemius
05 2013-04-05 2013-04-05 >> #8 41376 41376 2013-04-12 2013-04-12 2013-04-12 2013-04-12 >> #9 41383NA 2013-04-19 2013-04-19 >> #10 41390 41390 2013-04-26 2013-04-26 2013-04-26 2013-04-26 >> #11 41397 41397 2013-05-03 2013-05-03 2013-05-03 2013-05-03 >

Re: [R] subsetting and Dates

2013-05-23 Thread Denis Chabot
; #11 41397 41397 2013-05-03 2013-05-03 2013-05-03 2013-05-03 > A.K. > > - Original Message - > From: Denis Chabot > To: R-help@r-project.org > Cc: > Sent: Thursday, May 23, 2013 5:35 PM > Subject: [R] subsetting and Dates > > Hi, > > I am trying to unders

Re: [R] subsetting and Dates

2013-05-23 Thread arun
-05-03 2013-05-03 2013-05-03 2013-05-03 A.K. - Original Message - From: Denis Chabot To: R-help@r-project.org Cc: Sent: Thursday, May 23, 2013 5:35 PM Subject: [R] subsetting and Dates Hi, I am trying to understand why creating Date variables does not work if I subset to avoid NAs.

[R] subsetting and Dates

2013-05-23 Thread Denis Chabot
Hi, I am trying to understand why creating Date variables does not work if I subset to avoid NAs. I had problems creating these Date variables in my code and I thought that the presence of NAs was the cause. So I used a condition to avoid NAs. It turns out that NAs are not a problem and I do