Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

convert a column to row names in r

> samp.with.rownames <- data.frame(samp[,-1], row.names=samp[,1])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #column #row #names
ADD COMMENT
Topic
Name
1+7 =