last: Return the last element of a vector.

View source: R/last.R

lastR Documentation

Return the last element of a vector.

Description

Return the last element of a vector

Usage

last(x)

Arguments

x

a vector

Author(s)

James Curran

Examples

x = 1:10
last(x)

dafs documentation built on April 11, 2022, 5:06 p.m.

Related to last in dafs...