I have an xts object that covers 169 days of high frequency 5 minute regular observations, but on some of the days there are missing observations, i.e less than 288 data points. How do I remove these so to have only days with full data points?
find days in data
ddx = endpoints(dxts, on="days");
days = format(index(dxts)[ddx], "%Y-%m-%d");
for (day in days) {
x = dxts[day];
cat('', day, "has", length(x), "records...\n");
}
I tried
RTAQ::exchangeHoursOnly(dxts, daybegin = "00:00:00", dayend = "23:55:00")
but this still returned the full set
Thanks