[R] Using ADF.Test

ehxpieterse eduard.pieterse at macquarie.com
Tue Jun 9 13:13:13 CEST 2009


Hi,

I am quite new to R and would appreciate some guidance, if possible.

I have imported a csv file: spread <- read.csv("Spread.csv")

I get the following error when I try to run adf.test:
> adf.test(spread,alternative = c("stationary", "explosive"),0)
Error in embed(y, k) : 'x' is not a vector or matrix

Why is this?
-- 
View this message in context: http://www.nabble.com/Using-ADF.Test-tp23940824p23940824.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list