Which of the following is uniform distribution?
(a) dunif(x, min=0, max=1, log = FALSE)
(b) punif(q, min=0, max=1, lower.tail = TRUE, log.p = FALSE)
(c) qunif(p, min=0, max=1, lower.tail = TRUE, log.p = FALSE)
(d) runif(n, min=0, max=1)
This question was posed to me in an interview.
My question comes from Commands in chapter Commands, Packages, Visualizing Data and Linear Regression of R Programming