insert: Insert a vector y inside another vector x at position

View source: R/utils.R

insertR Documentation

Insert a vector y inside another vector x at position

Description

The vectors in the y list will be inserted at positions respectively *after* the x[position] element of x

Usage

insert(x, y, position)

Arguments

x

A vector to be inserted into

y

A vector or list of vectors to insert into x

position

The position / vector of positions to insert vector(s) y in vector x

Value

The combined vector


desctable documentation built on March 24, 2022, 5:07 p.m.