breakStrings | R Documentation |
breaks a string of long-enough words (or vector thereof) into two lines.
breakStrings(x, minSizeForBreak = 20, lb = "\n")
x |
A character (or factor) vector. |
minSizeForBreak |
The minimum number of characters to be broken into two lines. |
lb |
The separation character (e.g. line break). |
A character vector of length=length(x).
breakStrings("this is too long for practical purposes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.