Seed: Set Seed for Environment

Description Usage Arguments Value Methods (by class) Examples

View source: R/base.R

Description

Seed() is a generic method that aims to set seed for an object.

Usage

1
2
3
4
Seed(x, seed = NULL)

## S3 method for class 'Env'
Seed(x, seed = NULL)

Arguments

x

an environment-like object

seed

an integer for set.seed()

Value

the environment-like object with seed set

Methods (by class)

Examples

1
2
ev <- Env()
ev <- Seed(ev, 100)

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