string_ruler | R Documentation |
String ruler Fuction to assist with visualizing positions of a string, usually used with long fixed width character vectors
string_ruler(x, split = 0, under = T, uchar = "-", nl = 0, nlchar = " ")
x |
- character: string to measure |
split |
- integer: split lines every [split] characters |
under |
- logical: underline the ruler digits |
uchar |
- character: character to use for the underline (default="-") |
nl |
- integer: number of newlines after each ruled line |
nlchar |
- character: character to use for the new lines (default=" ") |
character: string with "ruler" above
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.