RAND_VAR-cash-..init..: Initialization method

RAND_VAR$..init..R Documentation

Initialization method

Description

This function will be called after an instance is built. User input will be stored in the environment.

Usage

RAND_VAR$..init..(dist = "", prm = list())

Arguments

dist

Character. Distribution name.

prm

List. List of parameters.

Value

Return the object itself.

Examples


RAND_VAR$..init..

# Instantiate
test <- rand_var(dist = "uniform", prm = list(a = 1, b = 2))
test$prm
test$dist

TengMCing/visage documentation built on Aug. 28, 2024, 3:27 p.m.