Random generation for a perfect normal distribution with mean equal to mean and standard deviation equal to sd.
rnorm_perfect(n, mean = 0, sd = 1)
Returns a vector of values from a perfect normal distribution
The function will return the same set of quantiles for fixed n. In that sense there is not much randomness going on, and the function is mostly useful for illustrative purposes.
rnorm_perfect(30, mean=10, sd=2)
#> [1] 16.30281 16.96414 17.39969 17.73804 18.02166 18.27021 18.49454 18.70135
#> [9] 18.89511 19.07901 19.25542 19.42621 19.59291 19.75683 19.91912 20.08088
#> [17] 20.24317 20.40709 20.57379 20.74458 20.92099 21.10489 21.29865 21.50546
#> [25] 21.72979 21.97834 22.26196 22.60031 23.03586 23.69719