insert: Inserting a value into a vector

Description Usage Arguments Value

View source: R/UWHAM-code.R

Description

This inserts a value x0 at d-th position of x.

Usage

1
insert(x, d, x0 = 0)

Arguments

x

A vector.

d

A position in x.

x0

A value to be inserted.

Value

The resulting vector.


UWHAM documentation built on May 29, 2017, 9:19 p.m.