insert | R Documentation |
Insert a vector in another vector.
insert(x, pos, what)
x |
A vector (or a list). |
pos |
Integer. Insert after which elements? |
what |
Vector of elements to insert. |
To insert an element at the beginning use a pos
value of 0.
Duplicated positions are not allowed.
A vector.
heemod:::insert(letters, c(0, 5, 26), c("xxx", "yyy"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.