prepend-set: Prepend to a vector.

Description Usage Arguments Examples

Description

Prepends the 2nd argument to the 1st.

Usage

1
prepend(x) <- value

Arguments

x

A vector.

value

The element to append.

Examples

1
2
3
4
5
x <- 1:5
prepend(x) <- 6
print(x)

[1] 6 1 2 3 4 5

traversc/trqwe documentation built on Dec. 4, 2020, 4:21 a.m.