[R] Find out the day of week for a chron object?
Gabor Grothendieck
ggrothendieck at myway.com
Thu Mar 4 06:08:08 CET 2004
month.day.year takes a chron object and produces a list
with three components named month, day and year. with
executes its second argument in an environment where the
components of the list of the first argument are variables
so arg 2 can refer to the names month, day and year.
---
Date: Thu, 4 Mar 2004 00:03:59 +0530
From: Ajay Shah <ajayshah at mayin.org>
To: Gabor Grothendieck <ggrothendieck at myway.com>
Cc: <r-help at stat.math.ethz.ch>
Subject: Re: [R] Find out the day of week for a chron object?
[...]
Could someone give me a glimmer into HOW and WHY that expression
with(month.day.year(x), day.of.week(month,day,year))
works? :-)
--
Ajay Shah Consultant
ajayshah at mayin.org Department of Economic Affairs
http://www.mayin.org/ajayshah Ministry of Finance, New Delhi
More information about the R-help
mailing list