last: Select character from last

View source: R/last.R

lastR Documentation

Select character from last

Description

Select character from last

Usage

last(x, n)

Arguments

x

vector

n

If missing, the last element will be used.

Value

last element

Examples

letters |> last()
letters |> last(1:2)

do documentation built on Sept. 12, 2024, 6:27 a.m.