Displaying 1 result from an estimated 1 matches for "airpass".
Did you mean:
addpass
2001 Dec 23
1
Time Series Data
...cause of my problem lies in how I imported
the data into R.
In Excel (csv), the data look like:
Jan Feb Mar ....
1949 12.2 9.0 7.9 ....
1950 17.2 16.9 9.9 ....
1951 8.2 7.0 7.7 ....
I import to R using:
a<-read.csv("d:/programs/r/airpass.csv",header=TRUE, sep = ",")
then I try to coerce a to a .ts object using:
> a.ts<- as.ts(a)
but get the following error:
Error in dimnames<-.data.frame(*tmp*, value = list(NULL, names)) :
invalid dimnames given for data frame
I have tried everything (except what...