Skip to contents

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

Usage

text_wrap_mod(value, width = 25)

Arguments

value

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

width

the maximum width of each line in characters.