force_dice: Force a dice rolling result.

View source: R/dice.R

force_diceR Documentation

Force a dice rolling result.

Description

The forced result is returned as a tibble.

Usage

force_dice(data = NULL, result = 6, round = 1, experiment = 1, success = 6)

Arguments

data

Data from a previous experiment

result

Vector of rolling dice results

round

Round of rolling dice

experiment

Experiment Number

success

Which result is a success (default = 6)

Value

Result of experiment as a tibble

Examples

force_dice(6)
force_dice(1:6)

tidydice documentation built on Feb. 16, 2023, 7:50 p.m.