Description Usage Arguments Examples
Converts output to an image object in standard formats.
1 |
plot |
A plot, typically generated with e.g. 'rv_create_arena()' |
quality |
One of either "low" (output 1024px width), "medium" (output 1512px width), or "high" (output 2048px width). Defaults to "low". |
bg |
Background colour. |
stack |
Logical, defaults to FALSE. If TRUE, graphs are placed left-to-right, if FALSE top-to-bottom. |
1 2 | plot <- rv_create_arena(ratio = 0.7)
rv_img(plot, quality = "medium")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.