insert {apTreeshape}R Documentation

Insert an element in a vector

Description

Insert an element in a vector

Usage

insert(v, e, i, replace)

Arguments

v

Vector

e

Element to be inserted

i

Position where the element should be inserted

replace

Should the elment at position i be replaced by e?

Author(s)

Odile Maliet, Fanny Gascuel & Amaury Lambert


[Package apTreeshape version 1.5-0.1 Index]