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

