powered by
A wrapper for abbreviate for abbreviating strings.
abbreviate
f_abbreviation(x, length = 5, ...)ff_abbreviation(...)
ff_abbreviation(...)
A vector of text strings.
The minimum length of the abbreviations.
Other arguments passed to abbreviate.
Returns a string vector with strings abbreviated.
# NOT RUN { f_abbreviation(state.name) f_abbreviation('Cool Variable') # }
Run the code above in your browser using DataLab