Dice {BSDA} | R Documentation |
Data for Exercise 3.109
Dice
A data frame with 11 observations on the following 2 variables.
x
P.x.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Duxbury
str(Dice) attach(Dice) roll1 <- sample(1:6,2000,replace=TRUE) roll2 <- sample(1:6,2000,replace=TRUE) outcome <- roll1+roll2 table(outcome)/length(outcome) detach(Dice) remove(roll1,roll2,outcome)