search for: a_consumption

Displaying 1 result from an estimated 1 matches for "a_consumption".

Did you mean: nat_consumption
2012 Aug 09
1
Zoo object problem: problem when I attempt to create a zoo object of only one column
...have only one column? Why is the number of an object of only one object "NULL"? It should be one, shouldn't it? (The following example does not involve the creation of a zoo object; in reality, similar problems are encountered when I create a zoo object) > temp5<-read.csv("A_Consumption.csv", header=TRUE)> temp5[1:3,] TIME C C_D C_ND 1 196101 70345 1051 69294 2 196102 61738 905 60833 3 196103 63838 860 62978> temp6<-temp5[,2:ncol(temp5)]> temp6[1:3,] C C_D C_ND 1 70345 1051 69294 2 61738 905 60833 3 63838 860 62978> colnames(temp6)[1] "C&...