last | R Documentation |
Returns the last element of a vector or the n-th element counting from the end of a vector.
last(x, n = 1)
x |
vector |
n |
optional integer specifying the n-th element from the end to be returned |
scalar of the same type as x
Danail Obreschkow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.