| lastElement | R Documentation |
Returns the last element using the function tail
lastElement(x)
x |
object |
The last element of object is returned: x[[length(x)]]
if x is a list (and not a data frame), otherwise tail(x, 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.