Description Usage Arguments Value Author(s) Examples
This is a simple "chop" at k characters, no fancy truncation at spaces or such. Optionally, this will make unique the resulting truncated strings. That way, truncation at character 4 of "Washington" and "Wash" and "Washingham" will not result in 3 values of "Wash", but rather "Wash", "Wash.1", and "Wash.2"
1 |
x |
character string |
k |
integer limit on length of string. Default is 20 |
unique |
Default FALSE |
vector of character variables no longer than k
Paul Johnson <pauljohn@ku.edu>
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.