View source: R/plot.plinko_board.R
autoplot.plinko_board | R Documentation |
Plots a single frame from a Plinko board animation.
## S3 method for class 'plinko_board'
autoplot(
object,
...,
frame = NULL,
show_paths = TRUE,
show_dist = TRUE,
show_target_dist = TRUE
)
object |
A |
... |
other arguments passed to specific methods |
frame |
Which frame to plot (an integer). If |
show_paths |
Should ball paths be shown? |
show_dist |
Should an overlay of the binomial distribution for this Plinko board be shown? |
show_target_dist |
For |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.