Last data update: 2014.03.03
|
R: Get the first/last element of a list/vector.
Get the first/last element of a list/vector.
Description
Get the first/last element of a list/vector.
Usage
getFirst(x)
getLast(x)
Arguments
x |
[list | vector ]
The list or vector.
|
Value
Selected element. The element name is dropped.
Results
|