search for: c_nd

Displaying 2 results from an estimated 2 matches for "c_nd".

Did you mean: c_id
2012 Aug 09
1
Zoo object problem: problem when I attempt to create a zoo object of only one column
...uot;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" "C_D" "C_ND"> temp7<-read.csv...
2012 Aug 10
2
Zoo object problem: Find the column name of a univariate zoo object
...> > R> dim(z) <- c(NROW(z), NCOL(z)) > R> z > > 1 0.8414710 > 2 0.9092974 > 3 0.1411200 > 4 -0.7568025 > R> dim(z) > [1] 4 1 > > > 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...