Skip to content
Prev 324069 / 398503 Next

sample(c(0, 1)...) vs. rbinom

After a bit of playing around, I discovered that
sample() does something similar in other situations:
[1] 3
[1] 2
[1] 3 4 2 1 5
[1] 2 5 1 4 3

albyn
On 2013-05-22 22:24, peter dalgaard wrote: