isWeekday {TimeWarp}R Documentation

Functions for identifying and working with weekdays

Description

Functions for identifying and working with weekdays

Usage

nearestWeekday(x, return.dow=FALSE)
filterWeekdays(x, return.dow=FALSE)
isWeekday(x, return.dow=FALSE)

Arguments

x

vector of dates, either character, Date, or POSIXct or POSIXlt.

return.dow

if TRUE, an attribute 'dow' on the returned value will hold the day-of-week of x, with 0 being Sunday and 6 being Saturday.

Value


[Package TimeWarp version 1.0.17 Index]