I am trying to run a cross-correlation using the "ccf()" function. When
I select plot = TRUE in the ccf() I get a graph which has ACF on the
y-axis, which would suggest that these y-values are the auto-correlation
values.

How should I adjust the code to produce a plot that provides the
cross-correlation values? 

Here is my code:

w002dat <- read.csv("w054_1128958_08NM174.csv", header=TRUE)
w002dat$date <- as.Date(w002dat$date,"%m/%d/%Y")
attach(w002dat)
w002ccfhdgw <- ccf((gwneg), (hydro), lag.max = 400, type =
c("correlation"),
         plot = TRUE, na.action = na.exclude)

Thank you

Arelia

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to