R/roll_dice.R

Defines functions roll_dice

Documented in roll_dice

#' Roll dice
#'
#' Simulate rolling 2x 6-sided dice
#' @examples
#' \dontrun{
#' roll_dice()
#' }
#' @export
#' roll_dice

roll_dice <- function(){

  sample(6, 2, TRUE)

}
bussejoebusse/monopoly documentation built on July 12, 2020, 9:45 p.m.