mat_add_row_num | R Documentation |
Add row number
mat_add_row_num(df, ..., col_name = "n_row")
df |
data |
col_name |
Name of the new col, defaults to n_row |
... |
group by variables |
df <- data.frame(group = rep(letters[1:2], each=3), values= 1:6)
mat_add_row_num(df)
mat_add_row_num(df, group)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.