last {obfuscatoR}R 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)


[Package obfuscatoR version 0.2.2 Index]