list.skip: Skip a number of elements

Description Usage Arguments See Also Examples

View source: R/list.skip.R

Description

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

Usage

1
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

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

rlist documentation built on Sept. 5, 2021, 5:30 p.m.