Displaying 2 results from an estimated 2 matches for "coltitle".
Did you mean:
coltitles
2009 Jul 15
4
Change data frame column names
Hi R helpers,
I have a data frame and I want to change the column names to names I have held in another data frame, but I am having difficulty. All data framnes are large so i can't input manually. Below is what i have tried so far:
df<-data.frame(a=1:5, b=2:6, d=3:7, e=4:8)
coltitles<-data.frame(v1="col number one", v2="col number two", v3="col number three", v4="col number four")
##first attempt
names(df)<-coltitles
names(df)
[1] "1" "1" "1" "1" ###not what i wanted as I want names(df) t...
2016 Jan 18
2
Segmentation Fault Asterisk 13.7.0-rc2 (libmysqlclient?)
...0\033\311d9\036\177\000\000P\225\242\310\035\177\000\000?\242\310", '\000' <repeats 16 times>, "\377\377\377\377", '\000' <repeats 16 times>, " R\234\317\035\177\000\000\000\000\000\000\035\177", '\000' <repeats 14 times>...
coltitle = "\002", '\000' <repeats 15 times>, "|\000\000\000\000\000\000\000?\b\316", '\000' <repeats 12 times>, "\002", '\000' <repeats 19 times>, "\021\000\000\000\000\000\000\000\035\177\000\000\000\000\000\000\000\000\000\000 \...