Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

convert a row to a column in r

starting_df <- data.frame(row.names= c(LETTERS[1:4]),
                          a = c(1:4),
                          b = seq(0.02,0.08,by=0.02),
                          c = c("Aaaa","Bbbb","Cccc","Dddd")
                )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #row #column
ADD COMMENT
Topic
Name
2+8 =