Reset: Reset the Environment

Description Usage Arguments Value Methods (by class) Examples

View source: R/base.R

Description

Reset() is a generic method that aims to reset an object.

Usage

1
2
3
4
Reset(x)

## S3 method for class 'Env'
Reset(x)

Arguments

x

an environment-like object

Value

the environment-like object with seed set

Methods (by class)

Examples

1
2
3
ev <- Env()
ev <- Step(ev, 2e5)
ev <- Reset(ev)

XiaoqiLu/PhD-Thesis documentation built on March 1, 2021, 10:49 a.m.