How to create a vector from percent distribution whith 12.5 in R

前端 未结 0 388
情话喂你
情话喂你 2020-12-15 18:00

How do I create a vector of size 100 for this distribution?

Value   %
0      75
1      12.5
2      12.5

I tried:

x <- c(rep         


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