insert {mark} | R Documentation |
Insert
Description
Insert values at a position
Usage
insert(x, positions, values)
Arguments
x |
A vector of values |
positions |
Integer of positions of |
values |
A vector of values to insert into |
Value
A vector with the intended values inserted
Examples
insert(letters[1:5], c(2, 4), c("X", "Y"))
[Package mark version 0.8.0 Index]