Is there a way to simulate rbinom using if statements on R?

前端 未结 0 1383
心在旅途
心在旅途 2021-02-09 11:51

I am working on the following prompt:

Using if statements, generate a sample of 100 observations from the binomial distribution with p = 0.35.

Would I do this usin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题