Skip to content
Prev 333144 / 398506 Next

xts objects comparison

On Thu, Nov 14, 2013 at 2:26 AM, Tstudent <tstudent at gmail.com> wrote:
Because series1 has a POSIXct index and series2 has a yearmon index.
The two objects have no index values in common, so there's nothing to
compare.

Convert series1's index to yearmon, and the comparison works.
GSPC
2013-06-01 TRUE
2013-07-01 TRUE
2013-08-01 TRUE
2013-09-01 TRUE
2013-10-01 TRUE
2013-11-01 TRUE

Best,
--
Joshua Ulrich  |  about.me/joshuaulrich
FOSS Trading  |  www.fosstrading.com