Re: [R] Split data frame by date (POSIXlt)

2011-08-25 Thread MacQueen, Don
I suspect, but have not tested, that your src$date element has class "POSIXlt", which is internally a list, in which case splitting by it might not work properly, and might be the cause of your out of bounds error message. One of these might do the job: src$date <- format(strptime(tickdata$da

Re: [R] Split data frame by date (POSIXlt)

2011-08-24 Thread Jean V Adams
You could try using the numeric representation of date, and split the data frame using that variable. For example: src$date.num <- as.numeric(src$date) Jean Franc Lucas wrote on 08/24/2011 02:42:58 PM: > >Hello everyone, >I want to split a data.frame by the column date . The data fram