lbl_manual() uses an arbitrary sequence to label intervals. If the sequence is too short, it will be pasted with itself and repeated.

lbl_manual(sequence, fmt = "%s")

Arguments

fmt

A sprintf()-style format.

Value

A vector of labels for chop, or a function that creates labels.

See also

Other labelling functions: lbl_dash, lbl_format, lbl_intervals, lbl_seq

Examples

chop(1:10, c(2, 5, 8), lbl_manual(c("w", "x", "y", "z")))
#> Error in lbl_manual(c("w", "x", "y", "z")): could not find function "lbl_manual"
# if labels need repeating: chop(1:10, 1:10, lbl_manual(c("x", "y", "z")))
#> Error in lbl_manual(c("x", "y", "z")): could not find function "lbl_manual"