force_coin: Force a coin flipping result.

View source: R/coin.R

force_coinR Documentation

Force a coin flipping result.

Description

The forced result is returned as a tibble.

Usage

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

Arguments

data

Data from a previous experiment

result

Vector of flipping coin results

round

Round of flipping coin

experiment

Experiment Number

success

Which result is a success (default = 6)

Value

Result of experiment as a tibble

Examples

force_coin(6)
force_coin(1:6)

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