last {ballgown} | R Documentation

## get the last element

### Description

get the last element

### Usage

    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

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

[Package ballgown version 2.14.1 Index]