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)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.