Tag Archive for: R Inferno-ism

An xts R Inferno-ism

07 Feb 2014
2014/02/07

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 →

© Copyright - Burns Statistics