inst/snippet/unif02.R

runif(6, 0, 10)     # 6 random values on [0,10]
dunif(5, 0, 10)     # pdf is 1/10
punif(5, 0, 10)     # half the distribution is below 5
qunif(0.25, 0, 10)  # 1/4 of the distribution is below 2.5
rpruim/fastR documentation built on Nov. 12, 2023, 12:26 p.m.