Re: [R] R-project: plot 2 zoo objects (price series) that have some date mis-matches

2011-04-03 Thread Gabor Grothendieck
On Sun, Apr 3, 2011 at 1:57 PM, algotr8der wrote: > I have 2 zoo objects - > > 1) Interest rate spread between 10-YR-US-Treasury and 2-YR-US-Treasury > (object name = sprd) > > 2) S&P 500 index (object name = spy) > > >> str(spy) > ‘zoo’ series from 1976-06-01 to 2011-03-31 >  Data: num [1:8791] 9

[R] R-project: plot 2 zoo objects (price series) that have some date mis-matches

2011-04-03 Thread algotr8der
I have 2 zoo objects - 1) Interest rate spread between 10-YR-US-Treasury and 2-YR-US-Treasury (object name = sprd) 2) S&P 500 index (object name = spy) > str(spy) ‘zoo’ series from 1976-06-01 to 2011-03-31 Data: num [1:8791] 99.8 100.2 100.1 99.2 98.6 ... Index: Class 'Date' num [1:8791] 2