Re: [R] Getting a column of values from a list - think I'm doing it the hard way

2009-06-04 Thread Greg Snow
M > To: Jason Rupert > Cc: R-help@r-project.org > Subject: Re: [R] Getting a column of values from a list - think I'm > doing it the hard way > > 2009/6/4 Jason Rupert : > > > > Example code it shown below. > > > > I think I am doing this the hard way.  

Re: [R] Getting a column of values from a list - think I'm doing it the hard way

2009-06-04 Thread Gavin Simpson
On Thu, 2009-06-04 at 10:57 +0800, Ronggui Huang wrote: > 2009/6/4 Jason Rupert : > > HouseDates <- c("02/27/90", "02/27/91", "01/14/92", "02/28/93", "02/01/94", > > "02/01/95", "02/01/96") > > > > # ?as.Date > > HouseDatesFormatted<-as.Date(HouseDates, "%m/%d/%y") > > > > HouseDatesFormatted > >

Re: [R] Getting a column of values from a list - think I'm doing it the hard way

2009-06-03 Thread Marc Schwartz
On Jun 3, 2009, at 9:45 PM, Jason Rupert wrote: Example code it shown below. I think I am doing this the hard way. I'm just trying to get the full year value from an array of dates. An example array is shown below. Right now, I'm using a "for" loop to pull the year out of a list where

Re: [R] Getting a column of values from a list - think I'm doing it the hard way

2009-06-03 Thread Ronggui Huang
2009/6/4 Jason Rupert : > > Example code it shown below. > > I think I am doing this the hard way.  I'm just trying to get the full year > value from an array of dates.  An example array is shown below.  Right now, > I'm using a "for" loop to pull the year out of a list where the dates were > sp

[R] Getting a column of values from a list - think I'm doing it the hard way

2009-06-03 Thread Jason Rupert
Example code it shown below. I think I am doing this the hard way. I'm just trying to get the full year value from an array of dates. An example array is shown below. Right now, I'm using a "for" loop to pull the year out of a list where the dates were split up into their individual compone