getFirst: Get the first/last element of a list/vector.

View source: R/getFirstLast.R

getFirstR Documentation

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.


BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to getFirst in BBmisc...