right | R Documentation |
Takes a string or numeric value and subsets out the right n characters.
A simple function that extracts the right number of specified characters from a string or numeric value.
The returned output will be same class as the input.
right(x, n)
x |
numeric value or string. |
n |
numeric. The number of characters to extract from the right side. |
Nicholas Carey - nicholascarey@gmail.com
left
right("some text", 4)
right(123456, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.