replist | R Documentation |
Produces repeated copies of an object.
RepList(object, times)
object |
The object to be replicated. |
times |
The desired number of replications. |
Returns a list containing times
copies of object
.
Steven L. Scott
alist <- list(x = "foo", y = 12, z = c(1:3))
three.copies <- RepList(alist, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.