unif.mh(n, center, sd)
Sample size. A positive scalar integer.
Mean. A numeric scalar (or vector).
Standard deviation. A numeric scalar (or vector).
A numeric vector of length n.
x <- unif.mh(100, 1, 1)
## The function is currently defined as
function (n, center, sd)
w <- sd * sqrt(3)
a <- center - w
b <- center + w
x <- runif(n, a, b)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.