[R] ccf

Roger D. Peng rpeng at jhsph.edu
Thu Jun 16 17:41:20 CEST 2005


You might try passing 'na.contiguous' to the 'na.action' argument.

-roger

Laura De Vendictis wrote:
> Hello group,
> 
> For my research I should calculate the cross-correlation  between two 
> time series.
> I don't know if the function ccf can calculate this with series that 
> have NA values.
> e.g. temperature:
> 
> 15.5
> NA
> 12.3
> 10.0
> NA
> 14.2
> 15,3
> ....
> 
> Can you help me?
> Thank you very much!
> 
> Laura
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list