Description Usage Arguments Value References Examples
Add elements to a vector.
1 |
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. |
A vector containing the values in x
with the elements of
values
appended after the specified element of x
.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
1 | append(1:5, 0:1, after = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.