From KjetilBrinchmannHalvorsen at gmail.com  Tue May 23 18:37:40 2006
From: KjetilBrinchmannHalvorsen at gmail.com (KjetilBrinchmannHalvorsen at gmail.com)
Date: Tue, 23 May 2006 18:37:40 +0200 (CEST)
Subject: [Rd] bug in ccf (PR#8893)
Message-ID: <20060523163740.678BA20783@slim.kubism.ku.dk>

This is R 2.3.0 from CRAN, windows XP.

The following looks like a bug in ccf():

 > x <- ts(rnorm(100), start=1)
 > y <- ts(rnorm(120), start=3)
 > ccf(x,y)
Erro en na.fail.default(ts.union(as.ts(x), as.ts(y))) :
         missing values in object
 > ccf(x,y, na.action=na.pass)
Erro en na.fail.default(as.ts(x)) : missing values in object


 > sessionInfo()
Version 2.3.0 (2006-04-24)
i386-pc-mingw32

attached base packages:
[1] "methods"   "stats"     "graphics"  "grDevices" "utils" 
"datasets"  "base"

other attached packages:
       zoo clim.pact     akima      ncdf
   "1.0-6"   "2.2-1"   "0.5-1"     "1.5"

Kjetil



[Rd] bug in ccf (PR#8893)
KjetilBrinchmannHalvorsen at gmail.com