Re: [R] Days of the week?

From: talepanda <talepanda_at_gmail.com>
Date: Thu 25 Jan 2007 - 01:53:37 GMT

?Date seems to say that weekdays() is appropriate for that:

weekdays(as.Date("2006-12-01"))

see:
?weekdays

On 1/25/07, John McHenry <john_d_mchenry@yahoo.com> wrote:
> Hi WizaRds,
>
> What is the "standard" way to get the day of the week from a date such
> as as.Date("2006-12-01")? It looks like fCalendar has some functions
> but this requires a change in the R locale to GMT. Is there another way?
>
> Thanks!
>
> Jack.
>
>
> ---------------------------------
> Be a PS3 game guru.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu Jan 25 13:22:05 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 25 Jan 2007 - 03:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.