Thanks for the info!
-Original Message-
From: David Scott [mailto:d.sc...@auckland.ac.nz]
Sent: Friday, October 22, 2010 4:19 PM
To: David Reiner
Cc: Li, Jing Yi; r-help@r-project.org
Subject: Re: [R] previous business day
On 23/10/2010 4:59 a.m., David Reiner wrote:
> Look at
mius
Cc: r-help@r-project.org
Subject: RE: [R] previous business day
yes. do you know the name of related functions in the timeDate package?
Thanks!
-Original Message-
From: David Reiner [mailto:david.rei...@xrtrading.com]
Sent: Friday, October 22, 2010 10:10 AM
To: Li, Jing Yi; David Winse
-project.org
Subject: RE: [R] previous business day
Look at the documentation for timeDate and try ?timeNdayOnOrBefore after
loading the package.
-- David
-Original Message-
From: Li, Jing Yi [mailto:jingyi...@credit-suisse.com]
Sent: Friday, October 22, 2010 9:38 AM
To: David Reiner; David
: RE: [R] previous business day
yes. do you know the name of related functions in the timeDate package?
Thanks!
-Original Message-
From: David Reiner [mailto:david.rei...@xrtrading.com]
Sent: Friday, October 22, 2010 10:10 AM
To: Li, Jing Yi; David Winsemius
Cc: r-help@r-project.org
Subject
PM
To: David Winsemius
Cc: r-help@r-project.org
Subject: Re: [R] previous business day
Thanks a lot for all your reply! It really helps!
Somehow I remember there is some package which can provide financial
exchange calendars, like NYSE holidays, not sure where to find it.
-Original Message
To: David Winsemius
Cc: r-help@r-project.org
Subject: Re: [R] previous business day
Thanks a lot for all your reply! It really helps!
Somehow I remember there is some package which can provide financial
exchange calendars, like NYSE holidays, not sure where to find it.
-Original Message
, 2010 4:34 PM
To: Li, Jing Yi
Cc: Clint Bowman; Henrique Dallazuanna; r-help@r-project.org
Subject: Re: [R] previous business day
On Oct 21, 2010, at 4:20 PM, Li, Jing Yi wrote:
> Yeah, thanks Henrique for the code. It works! But I also have the
> questions for the holidays.
>
>
]
Sent: Thursday, October 21, 2010 4:16 PM
To: Henrique Dallazuanna
Cc: Li, Jing Yi; r-help@r-project.org
Subject: Re: [R] previous business day
May also wish to "or" in a check for holidays.
--
Clint BowmanINTERNET: cl...@ecy.wa.gov
Air Quality Modeler
: Thursday, October 21, 2010 4:16 PM
To: Henrique Dallazuanna
Cc: Li, Jing Yi; r-help@r-project.org
Subject: Re: [R] previous business day
May also wish to "or" in a check for holidays.
--
Clint BowmanINTERNET: cl...@ecy.wa.gov
Air Quality Modeler
May also wish to "or" in a check for holidays.
--
Clint BowmanINTERNET: cl...@ecy.wa.gov
Air Quality Modeler INTERNET: cl...@math.utah.edu
Department of Ecology VOICE: (360) 407-6815
PO Box 47600FAX:(36
Try this:
f <- function(d)if(format(d - 1, '%w') %in% c(0, 6)) Recall(d - 1) else d -
1
d <- Sys.Date()
f(d)
On Thu, Oct 21, 2010 at 5:38 PM, Li, Jing Yi wrote:
> How to get the previous business day in R? I saw some post about using
> functions in timeSeries package before but can not find it a
On Oct 21, 2010, at 9:38 PM, Li, Jing Yi wrote:
How to get the previous business day in R? I saw some post about using
functions in timeSeries package before but can not find it anymore.
??holiday
Perhaps you should look in the "tis" package.
Thanks!
David Winsemius, MD
West Hartford,
How to get the previous business day in R? I saw some post about using
functions in timeSeries package before but can not find it anymore.
Thanks!
===
Please access the attached hyperlink for an important el...{{dropped
13 matches
Mail list logo