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/fastR2 documentation built on Nov. 11, 2023, 7:32 a.m.