Is it possible for You to provide a link which R version etc You downloaded, and step by step how You put that code in. In addition, I guess it is possible to change the outcomes within the code, so instead of 7 outcomes, I can change it to 10, 15 etc just by replacing 7's with desired number in that code right? Finally, what is the exact mathematical name for example that I provided? I know it's not binomial distribution, and I even heard of poison distribution ( LOL). Sorry about all those questions, just getting started with probability and statistics.


PS. I was thinking of doing that in excel, but can't figure it out either.