I have an xts object "data" looking like the following:
A
2014-12-27 1
2014-12-28 1
2014-12-29 0
2014-12-30 0
2014-12-31 1
2015-01-01 1
2015-01-02 0
2015-01-03 0
2015-01-04 1
2015-01-05 1
From that I want to drop all dates from a list of dates I have set up with:
keeps<-as.vector(Table$Dates)
So I get a vector like "2000-02-03" "2000-01-20" "2000-01-05"....
What works is to keep the values for the dates in the list like :
data[keeps, ]
However, dropping the dates does not work at all... Any Ideas?