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


bcm-uga/apTreeshape documentation built on Sept. 26, 2019, 4:56 p.m.