[R] acf for a univariate time series in a data frame
cjrubio at kongju.ac.kr
Thu Oct 8 09:48:32 CEST 2009
i want to check the autocorrelation function for a univariate time series
(streamflow) in a data frame as below:
< DF <- read.table("D:/file path....")
year jan feb mar apr ...... dec
1966 0.504 0.406 0.740 0.241 0.429
1967 0.683 0.529 0.780 0.443 0.503
what i first tried is:
acf (DF, plot = TRUE)
the resulting plot is correlation between each month ( jan, jan and feb, feb
what i need is a correlation that would help me find out which lag would be
the most significant. i know i am missing out something simple here. please
bear with me.
should i transform my data frame into a vector of series:
before i do the command
acf(DF, plot = TRUE)???
thanks in advance!
View this message in context: http://www.nabble.com/acf-for-a-univariate-time-series-in-a-data-frame-tp25799751p25799751.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help