1.

Which of the following code create n samples of size size with probability prob from the binomial?

A. z <- rinom(n,size,prob)
B. z <- rbinom(n,size,prob)
C. z <- binom(n,size,prob)
D. z >- nom(n,size,prob)
Answer» C. z <- binom(n,size,prob)


Discussion

No Comment Found