These can be handy for generating pseudo labels for the levels or
factor names using fct_generator
Usage
label_seq_from_to(
from = 1L,
to = 1L,
by = 1L,
prefix = "",
suffix = "",
sep_prefix = "",
sep_suffix = "",
leading_zero = edibble_labels_opt("leading_zero")
)
label_seq_from_length(
from = 1L,
length = 1L,
by = 1L,
prefix = "",
suffix = "",
sep_prefix = "",
sep_suffix = "",
leading_zero = edibble_labels_opt("leading_zero")
)
label_seq_to_length(
to = 1L,
length = 1L,
by = 1L,
prefix = "",
suffix = "",
sep_prefix = "",
sep_suffix = "",
leading_zero = edibble_labels_opt("leading_zero")
)
label_seq_length(
length = 1L,
prefix = "",
suffix = "",
sep_prefix = "",
sep_suffix = "",
leading_zero = edibble_labels_opt("leading_zero")
)
Arguments
- from
An integer specifying the starting value (inclusive) of the sequence.
- to
An integer specifying the ending value (inclusive) of the sequence.
- by
An integer specifying the increment between values in the sequence.
- prefix
A character string to be prepended to the labels.
- suffix
A character string to be appended to the labels.
- sep_prefix
A character string used to separate the prefix from the labels.
- sep_suffix
A character string used to separate the suffix from the labels.
- leading_zero
A logical value indicating whether to add leading zeros to the labels. If integer, then pad based on the number supplied.
- length
An integer specifying the desired length of the sequence.