search for: myrenam

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

Did you mean: myrename
2007 Sep 16
1
Putting column names in some automated way
Dear all, I have following codes: colnames(data) = c("var", "var", "var") i = c(1,2,3) Now I want construct a "for" loop starting from 1 to 3 to give the new names of columns for dataframe "data" like below colnames(data) > c("var1", "var2", "var3") Definitely I could do this manually, however I want to put