plot.toss: Plot of object toss

View source: R/plot-toss.R

plot.tossR Documentation

Plot of object toss

Description

Plots the relative frequencies of a series of tosses

Usage

## S3 method for class 'toss'
plot(x, side = 1, ...)

Arguments

x

an object of class "coin"

side

number indicating which side of coin to consider

...

arguments to be passed to/from other methods

Examples

 ## Not run: 
 # create a coin and toss it 100 times
 coin1 <- coin()
 toss1000 <- toss(coin1, times = 1000)
 
 plot(toss1000)
 
## End(Not run)

gastonstat/cointoss documentation built on May 5, 2023, 6:46 p.m.