roll {prithulib}R Documentation

Rolling an unbiased die

Description

Rolls a die for 'n' number of times

Usage

roll(n = 1, size = 6)

Arguments

n

is the number of times to roll the die (default 1)

size

is the number of faces on the die (default 6)

Value

Outcome(s) of rolling of the die

Author(s)

Prithul Chaturvedi

Examples

roll(2,10)

[Package prithulib version 1.0.2 Index]