.cutStr | R Documentation |
This function allows truncating character vector to all variants from given start, with min and optonal max length Used to evaluate argument calls without giving full length of argument
.cutStr(txt, startFr = 1, minLe = 1, maxLe = NULL, reverse = TRUE)
txt |
(character) main input, may be length >1 |
startFr |
(interger) where to start |
minLe |
(interger) minimum length of output |
maxLe |
(interger) maximum length of output |
reverse |
(logical) return longest text-fragments at beginning of vector |
This function returns a character vector
used in pasteC
; substr
.cutStr("abcdefg", minLe=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.