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