Achim Zeileis wrote:
[...]
> is.vector(as.vector(...)) is not necessarily TRUE. Consider
>
> x <- cars[, 1, drop=FALSE]
> is.vector(x)
> is.vector(as.vector(x))
> identical(x, as.vector(x))
interesting. i wonder why as.vector does not give, at the very least, a
warning when the result
On Wed, 10 Jun 2009, matifou wrote:
ehxpieterse wrote:
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", "
ehxpieterse wrote:
>
> 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)
> Er
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
4 matches
Mail list logo