R: Skip a number of elements

list.skip {rlist} | R Documentation

## Skip a number of elements

### Description

Skip the first `n` elements of a list or vector and return the remaining elements if any.

### Usage

    list.skip(.data, n)

### Arguments

`.data` | A `list` or `vector`
`n` | `integer`. The number of elements to skip

### See Also

`list.skipWhile`, `list.take`, `list.takeWhile`

### Examples

    x <- list(a=1,b=2,c=3)
    list.skip(x, 1)
    list.skip(x, 2)

[Package rlist version 0.4.6.1 Index]