Message-ID: <CAM_vjunE-5PEUSLOZrvcCG9cWamg_40i_pgPnej9wJ=vepxo_g@mail.gmail.com>
Date: 2012-11-13T18:59:02Z
From: Sarah Goslee
Subject: Using lubridate to increment date by business days only
In-Reply-To: <1352832593482-4649414.post@n4.nabble.com>
Does this help at all:
http://stackoverflow.com/questions/7595533/generating-a-time-series-with-a-specific-start-and-end-date
Sarah
On Tue, Nov 13, 2012 at 1:49 PM, ramoss <ramine.mossadegh at finra.org> wrote:
> Hello,
>
> I know how to increment a date by calendar date:
>
> ticker$ldate <- ticker$tdate + days(5)
>
> How do I increment it by business days only so that week-ends are not
> counted?
>
> So for example friday november 2 + 5days becomes friday november 9 & not
> wednesday nov 7.
>
> Thanks for your help.
--
Sarah Goslee
http://www.functionaldiversity.org