I want to do the opposite of: Convert row names into first column
Somewhere down the chain of pipes I would like to add row names to the data frame, for example, I w
Other possibility is to use set_rownames alias from magrittr library.
set_rownames
magrittr
mtcars <- mtcars %>% set_rownames(as.character(1:nrow(mtcars)))