combine them and then use acf: x <- ts(rnorm(10)) y <- ts(x+ rnorm(10)) u <- ts.union(x, y) (acf(u, na.action=na.pass))
I don't know if it's correct, but it gives an answer... I'm too afraid to check if it's correct. -- View this message in context: http://r.789695.n4.nabble.com/CCF-and-missing-values-tp3225942p3228341.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.