Description Usage Arguments Value
View source: R/aiding_functions.R
Get substrings from the righthand side
1 | rightstr(x, n)
|
x |
a character vector (or something having an as.character method) |
n |
a single number: if n>=0, the rightmost n characters of each element of x are selected, if n<0 the (-n) leftmost characters are omitted |
character vector with rightside substrings of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.