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