powered by
Insert a vector in another vector.
insert(x, pos, what)
A vector.
A vector (or a list).
Integer. Insert after which elements?
Vector of elements to insert.
To insert an element at the beginning use a pos value of 0.
pos
Duplicated positions are not allowed.
heemod:::insert(letters, c(0, 5, 26), c("xxx", "yyy"))
Run the code above in your browser using DataLab