Learn R Programming

squat (version 0.5.0)

append: QTS Sample Concatenation

Description

QTS Sample Concatenation

Usage

append(x, ...)

# S3 method for default append(x, values, after = length(x), ...)

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

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.

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.

Examples

Run this code
append(vespa64$igp, vespa64$igp[1])
append(vespa64$igp, vespa64$igp[[1]])

Run the code above in your browser using DataLab