On 2011-04-25 13:07, Hadley Wickham wrote:
If you need plyr for other tasks you ought to use a different
class for your date data (or wait until plyr can deal with
POSIXlt objects).
How do you get POSIXlt objects into a data frame?
df<- data.frame(x = as.POSIXlt(as.Date(c("2008-01-01"
str
On 4/25/2011 1:07 PM, Hadley Wickham wrote:
If you need plyr for other tasks you ought to use a different
class for your date data (or wait until plyr can deal with
POSIXlt objects).
How do you get POSIXlt objects into a data frame?
df<- data.frame(x = as.POSIXlt(as.Date(c("2008-01-01"
st
Hi together,
thank you so much for your help! The problem was indeed the
strptime-function. Replacing that with as.Date solves the problem,
both in the example I provided and in my actual data set.
I think this is a lesson for me to not use types I'm not really
familiar with (POSIXlt in this case
> If you need plyr for other tasks you ought to use a different
> class for your date data (or wait until plyr can deal with
> POSIXlt objects).
How do you get POSIXlt objects into a data frame?
> df <- data.frame(x = as.POSIXlt(as.Date(c("2008-01-01"
> str(df)
'data.frame': 1 obs. of 1 va
...@wi.tum.de
Cc: r-help@r-project.org
Subject: Re: [R] Problem with ddply in the plyr-package:
surprising output of a date-column
On 4/25/2011 10:19 AM, Christoph Jäckel wrote:
Hi Together,
I have a problem with the plyr package - more precisely
with the ddply
function - and would be very grateful for
help@r-project.org
> Subject: Re: [R] Problem with ddply in the plyr-package:
> surprising output of a date-column
>
> On 4/25/2011 10:19 AM, Christoph Jäckel wrote:
> > Hi Together,
> >
> > I have a problem with the plyr package - more precisely
> with the ddply
> &
On 2011-04-25 10:19, Christoph Jäckel wrote:
Hi Together,
I have a problem with the plyr package - more precisely with the ddply
function - and would be very grateful for any help. I hope the example
here is precise enough for someone to identify the problem. Basically,
in this step I want to id
On 4/25/2011 10:19 AM, Christoph Jäckel wrote:
Hi Together,
I have a problem with the plyr package - more precisely with the ddply
function - and would be very grateful for any help. I hope the example
here is precise enough for someone to identify the problem. Basically,
in this step I want to
Hi Together,
I have a problem with the plyr package - more precisely with the ddply
function - and would be very grateful for any help. I hope the example
here is precise enough for someone to identify the problem. Basically,
in this step I want to identify observations that are identical in
terms
9 matches
Mail list logo