25 lines
382 B
Text
25 lines
382 B
Text
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/roll.R
|
||
|
\name{roll}
|
||
|
\alias{roll}
|
||
|
\title{Roll a die.}
|
||
|
\usage{
|
||
|
roll(x, times = 1)
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{x}{A die to roll.}
|
||
|
|
||
|
\item{times}{How many times the die should be rolled.}
|
||
|
}
|
||
|
\value{
|
||
|
A numeric vector representing the die rolls.
|
||
|
}
|
||
|
\description{
|
||
|
Description.
|
||
|
}
|
||
|
\examples{
|
||
|
roll(d20)
|
||
|
roll(d20, times=10)
|
||
|
|
||
|
}
|