unfill_vec | R Documentation |
The inverse of dplyr::fill.
Useful for formatting data frames for final output, where one often wants to avoid repeating values.
Often used in conjunction with in_row_headers()
.
unfill_vec(x)
x |
a vector of values |
in_row_headers()
move_to_first(iris, Species) %>%
in_row_headers(Species) %>%
dplyr::mutate(Species = unfill_vec(Species))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.