Description Usage Arguments Value Author(s) Examples
Simulate random data from a spinner
1 | spinner_data(regions, nsim=1000)
|
regions |
vector of integer values for the spins 1, 2, ... |
nsim |
number of spins |
A vector of random spins from the spinner
Jim Albert
1 2 | regions <- c(2, 1, 1, 2)
spinner_data(regions, nsim=20)
|
Loading required package: LearnBayes
Loading required package: ggplot2
Loading required package: gridExtra
Loading required package: shiny
[1] 4 3 3 1 1 1 1 1 1 4 1 3 4 4 4 2 1 4 1 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.