Description Usage Arguments Examples
View source: R/expand-factor-seq.R
Outputs a vector of
1 | expand_factor_seq(x, min_level = min(x), by = 1L)
|
x |
A vector of ordered factors |
min_level |
Character. The minimal for the sequence |
by |
Integer. Increment of the sequence; 1L or greater. |
1 2 3 | x <- factor(letters[c(5:15, 20)], levels = letters, ordered = TRUE)
expand_factor_seq(x)
expand_factor_seq(x, "j", by = 3L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.