Skip to content
Prev 155725 / 398502 Next

How to obtain a sequence of dates consisting of only weekdays

Then you can use c() to add the indices of those weeks which are not
"complete", or use something like this

# from Tuesday to next Wedsday
[1]  TRUE  TRUE  TRUE  TRUE FALSE FALSE  TRUE  TRUE  TRUE

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

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