Write a function dice(k) for generating k throws of a fair die. Use your function and Rs

Question:

Write a function dice(k) for generating k throws of a fair die. Use your function and R’s sum function to generate the sum of two dice throws.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: