append: Append a vector to an lvec

Description Usage Arguments Value

View source: R/append.R

Description

Append a vector to an lvec

Usage

1
2
3
4
5
6
7
append(x, y, ...)

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

## S3 method for class '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.


ldat documentation built on March 26, 2020, 7:59 p.m.

Related to append in ldat...