add_id | R Documentation |
Add id in each group
add_id(tbl, grp = "group", id = "id")
tbl |
A dataframe |
grp , id |
A string to specify the column of group and id |
A dataframe
brk <- "EOS"
tbl <- tibble::tibble(col=c(rep("a", 2), brk, rep("b", 3), brk, rep("c", 4), brk))
add_group(tbl, col = "col") |>
add_id(id = "id_in_group")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.