View source: R/in_row_header.R
in_row_headers | R Documentation |
Often helpful when wanting to create sub-groupings within a column in a final output.
in_row_headers(.data, col)
.data |
A tbl. |
col |
Column to add subheaders to. |
df <- tibble::tribble(
~Label, ~value,
"A", 1.2,
"A", 1.3,
"B", 5.0,
"C", 4.3,
"C", 4.1,
"C", 5.2,
"D", 6
)
df %>% in_row_headers(Label)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.