This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/append.html
append {base}R Documentation

Vector Merging

Usage

append(x, values, after=length(x))

Arguments

x

the vector to be modified.

values

to be included in the modified vector.

after

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

Value

A vector containing the values in x with the elements of values appended after the specified element of x.

Examples

all(append(1:5, 0:1, after=3) ==
    append(1:3, c(0:1, 4:5)))

[Package base version 0.60 ]