[R] ts.union and tsp

Dieter Menne dieter.menne at menne-biomed.de
Wed Jan 15 11:07:02 CET 2003


I don't understand the following behavior of ccf

library(ts)
a<-runif(100)
b<-runif(100)

acf(a) # works
ccf(a,b) # fails

#.. because of the following 
ts.union(a,b)

# which fails on tsp(x) in .cbind.ts 
#tsser <- sapply(sers, function(x) length(tsp(x)) > 0)


(R 1.6.1, Windows)

Dieter Menne




More information about the R-help mailing list