RAND_VAR: RAND_VAR class environment

RAND_VARR Documentation

RAND_VAR class environment

Description

This is the base class of random variable, inherited from bandicoot::BASE. It is an environment with S3 class bandicoot_oop.

Usage

rand_var(
  dist = "",
  prm = list(),
  env = new.env(parent = parent.frame()),
  init_call = sys.call()
)

Arguments

dist

Character. Distribution name.

prm

List. List of parameters.

env

Environment. The instance environment.

init_call

Call. Contents of the ..init_call... It is recommended to leave it as default.

Value

An instance environment.

Functions

  • rand_var(): Class constructor, same as RAND_VAR$instantiate().

Class information

Parent classes

  • Direct:

    • bandicoot::BASE

New attributes

  • D:

    • RAND_VAR$dist

  • P:

    • RAND_VAR$prm

New methods

  • E:

    • RAND_VAR$E()

  • I:

    • RAND_VAR$..init..()

  • S:

    • RAND_VAR$set_prm()

    • RAND_VAR$..str..()

  • V:

    • RAND_VAR$Var()


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