Wrap label text.

label_wrap_mod(value, width = 25)

Arguments

value

vector (converted using as.character) to be wrapped.

width

the maximum width of each line in characters.

Adapted from https://github.com/hadley/ggplot2/wiki/labeller