Rdocumentation
powered by
Learn R Programming
rpartitions (version 0.1)
last: Returns the last element of a vector
Description
Returns the last element of a vector
Usage
last(x)
Arguments
x
a vector
Examples
Run this code
last(
1
:
10
)
last(
letters
[
1
:
10
])
Run the code above in your browser using
DataLab