Description Usage Arguments Value Author(s) Examples
Constructs a spinner with different regions
1 | spinner_plot(probs, ...)
|
probs |
vector of probabilities for the spins 1, 2, ... |
... |
optional vector of values and title |
A ggplot2 object containing the spinner display
Jim Albert
1 2 3 4 5 6 | probs <- rep(.2, 5)
spinner_plot(probs,
values=c("A", "B", "C", "D", "E"),
title="My Spinner")
# probs does not need to be normalized
spinner_plot(c(1, 2, 1, 2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.