Learn R Programming

COINr (version 1.1.14)

Regen: Regenerate a coin or purse

Description

Methods for regenerating coins and purses. Regeneration is re-running all the functions used to build the coin/purse, using the order and parameters found in the .$Log list of the coin.

Usage

Regen(x, from = NULL, quietly = TRUE)

Value

A regenerated object

Arguments

x

A coin or purse object to be regenerated

from

Optional: a construction function name. If specified, regeneration begins from this function, rather than re-running all functions.

quietly

If TRUE (default), messages are suppressed during building.

Details

Please see individual method documentation:

  • Regen.coin()

  • Regen.purse()

See also vignette("adjustments").

This function replaces the now-defunct regen() from COINr < v1.0.

Examples

Run this code
# see individual method examples

Run the code above in your browser using DataLab