Skip to contents

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

Arguments

mu

Numeric. Mean. Default is 0.

sigma

Numeric. Standard deviation. Default is 1.

Value

Return the object itself.

Examples


# Instantiate
test <- rand_normal(mu = 1, sigma = 2)
test
#> 
#> ── <RAND_NORMAL object>
#> [mu: 1, sigma: 2]