powered by
This function takes a vector and replicates all of the data \(n\) times
num_rep(x, n)
A vec containing the data
vec
An unsigned int indicating the number of times the vector should be repeated.
unsigned int
A vec with repeated elements of the initial supplied vector.