XTS replacement error NextMethod(.Generic) : number of items to replace
问题 I'm struggling with xts right now... I have an XTS object, and I am trying to replace a specific date's data with a new set, but I keep running into issues of replacement length, even though I am certain they are the same and no missing data. Any ideas? I made a dummy example to demonstrate my issues: R> test1 = xts(cbind(trade_level = 1, t2 = 3),order.by=as.Date("1991-01-02")) R> test2 = xts(cbind(trade_level = 5, t2 = .053),order.by=as.Date("1991-01-02")) R> first_day = "1991-01-02" R>