An xts R Inferno-ism
Another of the all ye entering here.
Issue
When subscripting an xts
object, columns that don’t exist in the object are silently ignored.
Example
First, create an xts
object:
xtx <- xts(cbind(a=1:4, b=11:14, c=21:24), order=Sys.Date() + 1:4)
which looks like: Read more →