I can perform an adf test on a vector:
library(tseries)
ht <- adf.test(vector, alternative="stationary", k=0)
but I am having trouble performing it on columns of values in a... moreI can perform an adf test on a vector:
library(tseries)
ht <- adf.test(vector, alternative="stationary", k=0)
but I am having trouble performing it on columns of values in a data.frame:
ht <- adf.test(dataframe, alternative="stationary", k=0)
Is there a way of doing this?