[Rd] bug in ccf (PR#8893)

KjetilBrinchmannHalvorsen at gmail.com KjetilBrinchmannHalvorsen at gmail.com
Tue May 23 18:37:40 CEST 2006

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)

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"


More information about the R-devel mailing list