insert: Inserting a value into a vector

Description Usage Arguments Value

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.



Search within the UWHAM package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.