I have a data frame which I am dcasting using the reshape2 package, and I would like to remove the first column and have it become the row names of
dcast
reshape2
will this do?
iris %>% `rownames<-`(seq_len(nrow(iris)))