[R] Cross-correlation
Sven Garbade
garbade at psy.uni-muenchen.de
Wed Apr 17 18:01:03 CEST 2002
Kaspar Pflugshaupt wrote:
>
> On 17.4.2002 16:55 Uhr, Sven Garbade wrote:
>
> > I want to recalculate an analysis found in a paper. An empirical time
> > series (velocities, altogether 241 data values) were cross-correlated
> > with an invertited cosine function (200 milliseconds duration).
> > Following the authors the resulting values should offer some advantages:
> > being independent of gain and peak latency differences between single
> > trials and preserving the temporal aspect of the modulation. Is there a
> > function to calculate cross-correlations in R? I think cor() is ot the
> > right one.
>
> You need the function ccf() in library(ts).
Thanks, but I'm wondering why the R search engine found nothing
appropriate for the keyword "cross-correlation".
By, Sven
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list