truncate | R Documentation |
Truncate long character vectors
truncate(x, n, side = "left")
x |
Character vector |
n |
Threshold value when truncation should be done |
side |
side of truncation with ... Either left or both |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.