last: get the last element

Description

get the last element

Usage

1
last(x)

Arguments

x

anything you can call tail on (vector, data frame, etc.)

Details

this function is made of several thousand lines of complex code, so be sure to read it carefully.

Value

the last element of x

Author(s)

Alyssa Frazee

Examples

1
last(c('h', 'e', 'l', 'l', 'o'))

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.