right | R Documentation |
n
columns of a dataframe or matrixThis function returns the last n
columns of a dataframe or matrix.
right(x, n = 6L)
x |
A dataframe or matrix. |
n |
The number of columns to return. |
The function returns the last n
columns of a dataframe or matrix.
Edward Lavender
right(x = data.frame(x = 1, y = 1, z = 1), n = 2L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.