## dates in april, current year
currentYear = getRmetricsOptions("currentYear")
tS = timeSequence(
from = paste(currentYear, "-03-01", sep = ""),
to = paste(currentYear, "-04-30", sep = ""))
tS
## subset of weekends
isWeekend(tS)
tS[isWeekend(tS)]
Run the code above in your browser using DataLab