How can i change the probabilities of the possible outcomes of a dice roll, such that the probability of getting a 1 is 2p/3, the probability of obtaining 2, 3, 4 or 5 is p each, and the probability of obtaining 6 is 3p/2 where p=0.1621621622. Then out put a plot either a histogram or a distribution plot?
Just check ?sample()
and use the your vector of probabilities as the prob
parameter.
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.