Add elements to a vector.
append(x, values, after = length(x))
| Parameter | Description |
|---|---|
x |
the vector the values are to be appended to. |
values |
to be included in the modified vector. |
after |
a subscript, after which the values are to be appended. |
# NOT RUN {
append(1:5, 0:1, after = 3)
# }