GetEmpyricalScores: Get a vector with simulated scores after rolling XdY

Description Usage Arguments Value Examples

Description

Get a vector with simulated scores after rolling XdY

Usage

1
GetEmpyricalScores(X, Y, dice.rolls)

Arguments

X

An integer, the amount of dice to be rolled.

Y

An integer, the number of sides the die has. (Default: 10)

dice.rolls

An Integer, the amount of dice rolls to be simulated.

Value

A vector with simulated values for dice roll scores.

Examples

1
2
GetEmpyricalScores(5, 10, 10000)
GetEmpyricalScores(X = 8, Y = 10, dice.rolls = 10000)

rubenbanuelos/gameDesignTools documentation built on May 22, 2019, 4:42 p.m.