replist: Repeated Lists of Objects

replistR 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)

Boom documentation built on Nov. 10, 2022, 5:56 p.m.

Related to replist in Boom...