list.prepend: Prepend elements to a list

View source: R/list.insert.R

list.prependR Documentation

Prepend elements to a list

Description

Prepend elements to a list

Usage

list.prepend(.data, ...)

Arguments

.data

A list or vector

...

The vector or list to prepend before x

See Also

list.append, list.insert

Examples

x <- list(a=1,b=2,c=3)
list.prepend(x, d=4, e=5)
list.prepend(x, d=4, f=c(2,3))

renkun-ken/rlist documentation built on March 16, 2023, 8:25 p.m.