Skip to contents

Repeat elements n-times

Usage

hsRep(elements, n)

Arguments

elements

vector of which each element is to be repeated n-times

n

number by which each element of elements is repeated

Value

vector in which each element of elements is repeated n-times