Skip to content
Prev 155728 / 398502 Next

How to obtain a sequence of dates consisting of only weekdays

In fact, you can even use weekdays() to get the names of the weekdays
and then use the operator "%in%" to exclude the weekends. In this
case, I'm sure there will be no further problems :-)

Yihui
On Thu, Sep 11, 2008 at 5:33 PM, Weiyang Lim <Weiyang.Lim at henderson.com> wrote:

  
    
Message-ID: <89b6b8c90809110242k6968e45brf4c450076302d2b3@mail.gmail.com>
In-Reply-To: <AC9CF1A3B3582B4A847998B84DE457E4B7118D9E09@UKLONEXCPDV40.HDS.Int>