How do I create a vector that stores the numbers 1 to 6, with the given probabilities?

后端 未结 0 1756
眼角桃花
眼角桃花 2021-02-07 06:49

I\'m still completely new to R programming language. How do I make a 1d vector, with using the command cumsum(), and without using the command sample(), that contains the number

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