RAND_UNIFORM_D-cash-..init..: Initialization method

RAND_UNIFORM_D$..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_UNIFORM_D$..init..(a = 0, b = 1, k = 5, even = FALSE)

Arguments

a

Numeric. Lower bound.

b

Numeric. Upper bound.

k

Integer. Number of unique discrete values.

even

Boolean. Whether or not candidate values are evenly spaced.

Value

Return the object itself.

Examples


# Instantiate
test <- rand_uniform_d(a = 1, b = 2, k = 3)
test

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