View source: R/dataframe.R
Deprecated, use rownames_to_column instead.
add_rownames(df, var = "rowname")
Input data frame with rownames.
Name of variable to use
mtcars %>% tbl_df()
mtcars %>% add_rownames()
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at email@example.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.