unfill_vec: Unfill a vector

View source: R/unfill_vec.R

unfill_vecR Documentation

Unfill a vector

Description

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().

Usage

unfill_vec(x)

Arguments

x

a vector of values

See Also

in_row_headers()

Examples

move_to_first(iris, Species) %>%
  in_row_headers(Species) %>%
  dplyr::mutate(Species = unfill_vec(Species))

overdodactyl/mRclwhip documentation built on June 30, 2023, 6:24 a.m.