append: QTS Sample Concatenation

View source: R/qts-sample-class.R

appendR Documentation

QTS Sample Concatenation

Description

QTS Sample Concatenation

Usage

append(x, ...)

## Default S3 method:
append(x, values, after = length(x), ...)

## S3 method for class 'qts_sample'
append(x, y, ...)

Arguments

x

Either a numeric vector or an object of class qts_sample.

...

Extra arguments to be passed on to next methods.

values

to be included in the modified vector.

after

a subscript, after which the values are to be appended.

y

Either a numeric vector or an object of class qts_sample or an object of class qts.

Value

If x is a numeric vector, the output is a numeric vector containing the values in x with the elements of values appended after the specified element of x. If x is of class qts_sample, the output is another object of class qts_sample containing the elements in x and the ones in y appended after the last element of x.

Examples

append(vespa64$igp, vespa64$igp[1])
append(vespa64$igp, vespa64$igp[[1]])

astamm/squad documentation built on Jan. 26, 2024, 5:30 p.m.