Description Usage Arguments Value Examples
View source: R/tidy_wrappers.R
arrange_wbs()
orders rows by the wbs in ascending order.
1 | arrange_wbs(.data, .wbs_col = NULL)
|
.data |
An object of type data.frame. |
.wbs_col |
Unquoted column name to sort on. If |
A tibble.
1 2 3 4 5 6 7 8 9 | x <- as_wbs(c("1", "1.1", "1.2", "1.1.1", "1.10"))
df <- data.frame(wbs = x, value = runif(length(x)))
# Equivalent entries for this example
df %>%
arrange_wbs()
df %>%
arrange_wbs(wbs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.