replist {Boom}R Documentation

Repeated Lists of Objects

Description

Produces repeated copies of an object.

Usage

RepList(object, times)

Arguments

object

The object to be replicated.

times

The desired number of replications.

Value

Returns a list containing times copies of object.

Author(s)

Steven L. Scott

Examples

  alist <- list(x = "foo", y = 12, z = c(1:3))
  three.copies <- RepList(alist, 3)

[Package Boom version 0.9.15 Index]