setup_key | R Documentation |
Try to setup a key while also dodging existing keys
setup_key(
legend,
key,
default_key,
fun,
pos = c("right", "top", "bottom", "left")
)
legend |
a list of legends, usually the |
key |
A key specification, usually the user input. |
default_key |
The default key specifications that may be overridden by the user. |
fun |
The function to draw the key, such as |
pos |
Preferences for the position of the new key. |
The original legend
object with the addition of the key defined by
key
, default_key
, and fun
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.