Why aren't you using ts.intersect instead of ts.union? Bill Dunlap TIBCO Software wdunlap tibco.com
> -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Rich Shepard > Sent: Thursday, March 27, 2014 5:45 AM > To: r-help@r-project.org > Subject: Re: [R] acf(ts.union()): Missing Values in Object > > On Wed, 26 Mar 2014, Rich Shepard wrote: > > > According to the ts.union help, "‘ts.union’ pads with ‘NA’s to the total > > time coverage" but the problem seems to be that one series has a single NA > > while the other has 2 NAs. Both series have 792 rows of (date, value). > > I should have written in the first message that when I tried using the two > time series with the NAs removed, ts.union told me the sequence lengths > differed. According to the ts.union help that single difference (790 vs 791) > should have been padded with an NA if I correctly understand the help page. > > Rich > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.