Description Usage Arguments Value Examples
Translate 0/1 to shapes, by default "circle"
and
"square"
1 | scores2shapes(x, shapes = c("circle", "square"))
|
x |
numeric vector to generate shapes from |
shapes |
character vector with two shapes, respectively zeroes and ones |
Character vector with shapes
1 2 | set.seed(1)
scores2shapes(rbinom(n = 20, size = 1, prob = .5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.