[R] acf() with two df?

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Wed Apr 30 15:55:21 CEST 2003


I have two dataframes, one with a time series of variables and another
one with biological data of each plot. the column names correspond to
each other

        plot1 plot 2.......
1983  ...     ....
1984  ...     ....


        plot 1 plot2
  1      ...         ...

is it somehow possible to use acf() with two data frames and get a p
values for the whole correaltion of these two frames? AND to have the
lag function with p values? otherwise I think that cor() could do the
job but this one hasn't implemented the lag function.

an idea? thanks Martin

Martin Wegmann
Department of Animal Ecology and Tropical Biology
Zoology III, Biocenter
Am Hubland
97074 Würzburg
wegmann at biozentrum.uni-wuerzburg.de
m.wegmann at web.de

More information about the R-help mailing list