Examveda

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: Option B


This Question Belongs to R Programming >> Data Visualization With Ggplot2

Join The Discussion

Related Questions on Data Visualization with ggplot2