add_rowindex | R Documentation |
Add a column of row numbers to a data frame
add_rowindex(x)
x |
A data frame |
The same data frame with a column of 1-based integers named .row
.
mtcars %>% add_rowindex()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.