Try to setup a key while also dodging existing keys
setup_key(legend, key, default_key, fun, pos = c("right", "top", "bottom",
"left"))The original legend object with the addition of the key defined by
key, default_key, and fun.
a list of legends, usually the $legend slot of a trellis
object.
A key specification, usually the user input.
The default key specifications that may be overridden by the user.
The function to draw the key, such as lattice::draw.colorkey().
Preferences for the position of the new key.