break_str: Insert line breaks into character strings
Description
By default, all the non-alphanumeric characters are replaced by '\n',
which can be useful when plotting long axis labels, e.g., in parallel
coordinates plots.
Usage
break_str(x, split = "[^[:alnum:]]", ...)
Arguments
x
a character vector
split
the rule (regular expression) to replace characters by line
breaks