[select] <- mydaysx[select] + 365.25*24*60*60
>
> Regards,Dave
>
>
>
> From: Adrian Duffner
>
> Cc: "r-help@r-project.org"
> Sent: Sunday, 15 May 2011, 14:21
> Subject: Re: [R] changing the day of the week in dates format
>
> H
quot;r-help@r-project.org"
Sent: Sunday, 15 May 2011, 14:21
Subject: Re: [R] changing the day of the week in dates format
Hi Dave,
your problem is that you are working with a S3 class, what is mainly a
list with naming convention. Hence it is possible to change just one
entry of the list,
drian Duffner
> *To:* Dave Evens
> *Cc:* "r-help@r-project.org"
> *Sent:* Sunday, 15 May 2011, 14:21
> *Subject:* Re: [R] changing the day of the week in dates format
>
> Hi Dave,
>
> your problem is that you are working with a S3 class, what is mainly a
> list with
Hi Dave,
your problem is that you are working with a S3 class, what is mainly a
list with naming convention. Hence it is possible to change just one
entry of the list, but it is nearly never recommendable.
So a slight change to your code should provide you the required output:
> mydaysx[selec
Dear all,
I have a question related to the POSIXlt function in R.
I have a set of dates and times, for exmaple:
startx <- as.POSIXct("2011-01-01 00:00:00")
finx <- as.POSIXct("2011-12-31 00:00:00")
daysx<- seq(startx, finx, by="24 hours")
I
want to change the dates of all the days falling on
5 matches
Mail list logo