This function will be called after an instance is built. User input will be stored in the environment.
Arguments
- a
Numeric. Lower bound. Default is 0.
- b
Numeric. Upper bound. Default is 1.
- k
Integer. Number of unique discrete values. Default is 5.
- even
Boolean. Whether or not candidate values are evenly spaced.
Examples
# Instantiate
test <- rand_uniform_d(a = 1, b = 2, k = 3)
test
#>
#> ── <RAND_UNIFORM_D object>
#> [a: 1, b: 2, k: 3, even: 0]