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)


edsandorf/obfuscatoR documentation built on Sept. 15, 2023, 12:29 a.m.