rv_create_arena | R Documentation |
Create an arena with a given ratio of places highlighted
rv_create_arena(
ratio,
title = NULL,
subtitle = NULL,
caption = NULL,
bg = "white",
quality = "low",
ggplot = FALSE
)
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. |
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.