Description Usage Arguments Examples
This function operates similarily to strwrap
,
but paste
s the wrapped text back together with line
separators. Useful for automatically wrapping long labels.
1 |
x |
A character vectors, or an object which can be
converted to a character vector by
|
width |
A positive integer giving the number of characters a line can reach before we wrap and introduce a new line. |
... |
Optional arguments passed to
|
1 2 | long_label <- "This is a very long label which needs wrapping."
wrap(long_label)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.