Skip to content

acf() with two df?

2 messages · Martin Wegmann, Spencer Graves

#
Hello,

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  ...     ....
...

and

        plot 1 plot2
  1      ...         ...
  2

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
Germany
0931/888-4378
wegmann at biozentrum.uni-wuerzburg.de
m.wegmann at web.de
#
Have you considered merge or cbind to create one data.frame from the two?

hth.  spencer graves
Martin Wegmann wrote: