I have an xts object with NA data from 1.1.2007 to 5.6.2014 with minute intervals. I need to exclude between friday 17:00 and sunday 17:00. I am aware of the tricks like ['T17:00:00/T17:00:00'] to subset but how do you work the day of week condition to exclude a range into it? So, in this,
dt.seq <- seq(c(ISOdate(2007,01,01)),c(ISOdate(2014,05,06)),by="min")
dt.NA <- xts(rep(NA,length(dt.seq)),dt.seq)
I do not want friday to sunday between 17:00 to 17:00
Thanks