Function clears specific types of objects from the device window including "shapes", "bboxdeco", "lights", "background".
1 2 | device_clear(clear_types = c("shapes", "bboxdeco", "lights",
"background"))
|
clear_types |
A character vector that specifies the types of objects to clear. Accepted values for the vector include: "shapes", "bboxdeco", "lights", "background". The default is all 4 types are specified. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.