Re: [R] writing autocorrelation and partial auto correlation functions to a file

2010-05-20 Thread David Winsemius
On May 20, 2010, at 3:38 AM, nuncio m wrote: Dear All, I am very new to T. I need to fit a ARIMA model to my time series. So I found the auto correlation functions and partial auto correlation function in R. Now I want to save these valuse along with the significance levels to a fi

Re: [R] writing autocorrelation and partial auto correlation functions to a file

2010-05-20 Thread Glen Barnett
The problem is that the acf function (like many R functions) returns a list containing many different things. For example, I have a short series in the vector z: > acz <- acf(z) > str(acz) List of 6 $ acf : num [1:11, 1, 1] 1 -0.0668 -0.7401 0.0627 0.5954 ... $ type : chr "correlation" $ n.u

[R] writing autocorrelation and partial auto correlation functions to a file

2010-05-20 Thread nuncio m
Dear All, I am very new to T. I need to fit a ARIMA model to my time series. So I found the auto correlation functions and partial auto correlation function in R. Now I want to save these valuse along with the significance levels to a file. How to do that?. I tried some function in R