Learn R Programming

REN (version 0.1.0)

insert.at: Insert Values at Specified Positions in a Vector

Description

This function inserts specified values at given positions in a vector.

Usage

insert.at(a, pos, ...)

Value

A vector with the inserted values.

Arguments

a

A vector.

pos

A numeric vector specifying the positions to insert the values.

...

Values to be inserted at the specified positions.