DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+7 =
Submit