powered by
Deprecated, use tibble::rownames_to_column() instead.
tibble::rownames_to_column()
add_rownames(df, var = "rowname")
Input data frame with rownames.
Name of variable to use
# NOT RUN { mtcars %>% tbl_df() mtcars %>% add_rownames() # }
Run the code above in your browser using DataLab