insert: Insert an element in a vector

Description Usage Arguments Author(s)

View source: R/mcmc_alpha.R

Description

Insert an element in a vector

Usage

1
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


apTreeshape documentation built on Jan. 8, 2021, 2:07 a.m.