last: Get the last element of a vector

lastR Documentation

Get the last element of a vector

Description

last extracts the last element of a vector

Usage

last(x)

Arguments

x

A vector

Examples

x <- 1:4
last(x)

x <- c("hello", "my", "name", "is", "buttons")
last(x)


obfuscatoR documentation built on Sept. 8, 2023, 5:48 p.m.