[R] Plot two zoo object with different indexes

Gabor Grothendieck ggrothendieck at gmail.com
Tue Nov 23 23:12:56 CET 2010

On Tue, Nov 23, 2010 at 5:03 PM, Manta <mantino84 at libero.it> wrote:
> Gabor Grothendieck wrote:
>> How to convert a monthly series to a daily series has already been
>> illustrated in multiple ways in this thread.
> Fair enough. However, my last question was different. I simply want to know
> if there is a simple neat way to import a monthly series as a zoo object
> indexed by date without applying other function after the import (as in the
> example, using aggregate)
> Thanks

If by import you mean reading it in from a file you can use the
read.zoo FUN= argument to manipulate the time index as you read it in
(and if you want to aggregate or split it at the same time there are
aggregate= and split= arguments as well).  See ?read.zoo

Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

More information about the R-help mailing list