powered by
Produces repeated copies of an object.
RepList(object, times)
The object to be replicated.
The desired number of replications.
Returns a list containing times copies of object.
times
object
# NOT RUN { alist <- list(x = "foo", y = 12, z = c(1:3)) three.copies <- RepList(alist, 3) # }
Run the code above in your browser using DataLab