Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

convert a column to row names in r

library(tidyverse)
samp %>% remove_rownames %>% column_to_rownames(var="names")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #column #row #names
ADD COMMENT
Topic
Name
4+8 =