View source: R/table-dots-functions.R
| substring.with.dots | R Documentation | 
Objective: truncate string to n chars and pad with dots in front behind depending on reverse. Example:
substring.with.dots("Hello")
gives the following output:
"Hello .............."
See also table.dots and substring.with.dots.adv.
substring.with.dots("Hello")
| x | is a vector of input values | 
| n | combined length (incl. dots) | 
| reverse | (FALSE = x then dots, TRUE = dots then x) | 
| st | is the dot-character (i.e. normally "."). | 
string (vectorized)
Claus E. Andersen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.