last: Function last

lastR Documentation

Function last

Description

Returns the last element of a vector.

Usage

last(x, s = 0, factorsAsStrings = T)

Arguments

x

A vector or list.

Details

Returns the last element of a vector.

Examples

last(c(1,2,3))

AndreasFischer1985/quantqual documentation built on June 20, 2022, 4:55 p.m.