powered by
Insert an element into a vector.
insert(elem, slot, v)
element to insert
location of insert
vector to insert into
vector with element inserted
# NOT RUN { insert(2, 1, 1) insert(2, 2, 1) insert('x', 5, letters) # }
Run the code above in your browser using DataLab