In R I want to figure the code to simulate a biased 6 sided die being thrown 44 times. The die is biased in the sense that the number 6 is twice as likely to be thrown as any ot
You can use sample and specify probabilities for each number.
sample(x = 1:6, size = 44, replace = T, prob = c(rep(1/7, 5), 2/7))