How to remove a row from zoo/xts object, given a timestamp
问题 I was happily running with this code: z=lapply(filename_list, function(fname){ read.zoo(file=fname,header=TRUE,sep = ",",tz = "") }) xts( do.call(rbind,z) ) until Dirty Data came along with this at the end of one file: Open High Low Close Volume 2011-09-20 21:00:00 1.370105 1.370105 1.370105 1.370105 1 and this at the start of the next file: Open High Low Close Volume 2011-09-20 21:00:00 1.370105 1.371045 1.369685 1.3702 2230 So rbind.zoo complains about a duplicate. I can't use something