Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

convert first row to header in r

header.true <- function(df) {
  names(df) <- as.character(unlist(df[1,]))
  df[-1,]
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #row #header
ADD COMMENT
Topic
Name
9+7 =