View source: R/auto_index_group_rows.R
auto_index_group_rows | R Documentation |
When using group_rows
function from kableExtra
, you can provide a names vector providing
the number of rows to group together. auto_index_group_rows
compute that index based on a vector
by counting the successive identical values of that vector.
auto_index_group_rows(x)
x |
a vector |
x <- c("a", "a", "a", "b", "b", "a", "c", "c")
auto_index_group_rows(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.