Re: [R] Extracting Current and Old Date

2013-07-28 Thread arun
t.org" Cc: Sent: Sunday, July 28, 2013 3:20 PM Subject: Re: [R] Extracting Current and Old Date #This my look trivial but has been killing my time #I want to extract most current and old date from mydates #variable that has more than 10,000 observation.  #Get days # use as.Date( ) to con

Re: [R] Extracting Current and Old Date

2013-07-28 Thread David Winsemius
On Jul 28, 2013, at 12:20 PM, Peter Maclean wrote: > #This my look trivial but has been killing my time > #I want to extract most current and old date from mydates #variable that has > more than 10,000 observation. > #Get days > # use as.Date( ) to convert strings to dates > mydates <- as.Date

Re: [R] Extracting Current and Old Date

2013-07-28 Thread John Kane
m: pmaclean2...@yahoo.com > Sent: Sun, 28 Jul 2013 12:20:30 -0700 (PDT) > To: r-help@r-project.org > Subject: Re: [R] Extracting Current and Old Date > > #This my look trivial but has been killing my time > #I want to extract most current and old date from mydates #variable that &g

Re: [R] Extracting Current and Old Date

2013-07-28 Thread Peter Maclean
#This my look trivial but has been killing my time #I want to extract most current and old date from mydates #variable that has more than 10,000 observation.  #Get days # use as.Date( ) to convert strings to dates mydates <- as.Date(c("2007-06-22", "2007-05-21", "2004-04-13", "2004-03-11","2004-