rest: rest

Description Usage Arguments Details Value Author(s) Examples

View source: R/listprocessor.R

Description

Retrieve the rest of a list

Usage

1
rest(lst)

Arguments

lst

the list to get everything but the first index

Details

Retrieve the rest of the elements from a list type data structure.

Value

the list excluding the first index

Author(s)

Jay Morgan

Examples

1
2
3
4
5
## Not run: 
(rest {1 2 3 4}) => list(2, 3, 4)
(rest {{1 2} {3 4}}) => list(3, 4)

## End(Not run)

jaypmorgan/slurp documentation built on Dec. 20, 2021, 10 p.m.