coin: create a coin object

Description Usage Arguments Value Examples

View source: R/coin.R

Description

create a coin object

Usage

1
coin(object = c("heads", "tails"), prob = c(0.5, 0.5))

Arguments

object

vector of length (both sides of the coin)

Value

a coin object

Examples

1
coin()

benjaminleroy/coin documentation built on Nov. 4, 2019, 7:14 a.m.