is this what you expect? > ur.df(PIBTUN$V1,type='none',lags=1)
############################################################### # Augmented Dickey-Fuller Test Unit Root / Cointegration Test # ############################################################### The value of the test statistic is: 6.2523 On Wed, Nov 12, 2008 at 8:56 AM, <[EMAIL PROTECTED]> wrote: > Dear R users, > I have the joined txt file in the following direct directory C:// > I have written the following lines: > library(urca); > PIBTUN<-read.table("C:/AF.txt", header=F); > ur.df(PIBTUN,type='none',lags=1) > but I have obtained the following message: > Error in embed(z, lags) : 'x' is not a vector or matrix > I don't What's the problem, can you please help me > Thank you in advance > > ____________________________________________________ > > Avec le traducteur Voila, lisez enfin les journaux étrangers ! > http://tr.voila.fr/ > > ______________________________________________ > R-help@r-project.org 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. > > ______________________________________________ R-help@r-project.org 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.