n
This function takes a vector and replicates all of the data n times
num_rep(x, n)
x
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.