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
> 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
COMMENT
Name
1+7 =
Submit