[R] acf(ts.union()): Missing Values in Object
William Dunlap
wdunlap at tibco.com
Thu Mar 27 16:13:24 CET 2014
Why aren't you using ts.intersect instead of ts.union?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
> Of Rich Shepard
> Sent: Thursday, March 27, 2014 5:45 AM
> To: r-help at 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 at 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.
More information about the R-help
mailing list