[R] acf(ts.union()): Missing Values in Object

Rich Shepard rshepard at appl-ecosys.com
Thu Mar 27 13:44:36 CET 2014


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




More information about the R-help mailing list