prithulib (version 1.0.2)

toss: Tossing an unbiased coin

Description

Tosses a coin for 'n' number of times

Usage

toss(n = 1)

Arguments

n

is the number of times the coin is tossed (default 1)

Value

Outcome(s) of tossing the coin

Examples

Run this code
# NOT RUN {
toss(3)
# }

Run the code above in your browser using DataLab