Regen: Regenerate a coin or purse

View source: R/regen.R

RegenR Documentation

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)

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.

Value

A regenerated object

Examples

# see individual method examples


COINr documentation built on Oct. 9, 2023, 5:07 p.m.