Learn R Programming

ldat (version 0.3.3)

append: Append a vector to an lvec

Description

Append a vector to an lvec

Usage

append(x, y, ...)

# S3 method for lvec append(x, y, clone = TRUE, ...)

# S3 method for ldat append(x, y, clone = TRUE, ...)

Arguments

x

lvec to append to.

y

vector to append to x. Is converted to lvec using as_lvec.

...

ignored; used to pass additional arguments to other methods.

clone

should x be cloned first. If not, the input x is modified.

Value

Returns an lvec combining both x and y. When x is NULL a clone of y is returned.