tossed_coin: Creating a Tossed Coing from a Vector

Description Usage Arguments

Description

Creates a tossed coin from either a characeter or factor vector of two levels

Usage

1
tossed_coin(vec, success, failure, prob = NULL, ...)

Arguments

vec

a vector reprsenting the trial

success

denotes "success" in the trial

failure

denotes "failure" in the trial

prob

Represents the probability of "Success". Default is NULL

...

other arguments that may be supplied


jstrat1618/cointosses documentation built on May 31, 2019, 11:51 p.m.