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 <[EMAIL PROTECTED]>
To:   Gabor Grothendieck <[EMAIL PROTECTED]> 
Cc:   <[EMAIL PROTECTED]> 
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
[EMAIL PROTECTED] Department of Economic Affairs
http://www.mayin.org/ajayshah Ministry of Finance, New Delhi

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to