Description Usage Arguments Examples
Create an arena with a given ratio of places highlighted
1 2 3 4 5 6 7 8 9 |
ratio |
Numeric, between 0 and 1, required. Share of seats to colour. |
bg |
Character vector of lenght 1, defines the background colour of the plot. Defaults to "white". |
ggplot |
Logical, defaults to FALSE. If TRUE, returns a 'ggplot' object. If FALSE, a 'magick' object. |
1 2 3 | rv_create_arena(ratio = 0.9)
rv_create_arena(ratio = 0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.