search for: anadata

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

Did you mean: nadata
2011 Nov 15
3
how to indice the column in the data.frame
hi R,users Now I read a data from a txt file newdata<-read.table("1.txt") in the 1.txt ,there are several column shown as below 1 3 4 5 2 3 5 6 4 5 6 7 so when I want analysis the second column anadata<-newdata$V2 but my question I can not use some certain variable to indice the column? e.g cmn=2 anadata<-newdata$Vcmn how can I finish this command ?can anyone help me ? thank yo . [[alternative HTML version deleted]]
2011 Aug 18
1
can i use a variable to describe the dimension name of a data.frame?
for example: a data.frame data V1 V2 V3 1 2 3 4 5 6 If I want to calculate the V2 I can get data$V2 But now I want to calculate the dimension name and then analysis the data. for example No=3*x ;x=1,2,3,...n anadata=data$VNo How could I do? -- TANG Jie [[alternative HTML version deleted]]