plot.toss | R Documentation |
Plots the relative frequencies of a series of tosses
## S3 method for class 'toss'
plot(x, side = 1, ...)
x |
an object of class |
side |
number indicating which side of coin to consider |
... |
arguments to be passed to/from other methods |
## Not run:
# create a coin and toss it 100 times
coin1 <- coin()
toss1000 <- toss(coin1, times = 1000)
plot(toss1000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.