This identifies which
grobs (grid objects) bounding
boxes were clicked on (or otherwise identified by pixel coordinates),
and returns their names. The names can be used by other grid
if given, a list with components x and y, being pixel coordinates in the current plot device.
if given, one or more class names of grobs. This can be used to filter the results to only specified types of objects. Examples: "text", "lines", "segments", "rect".
a character vector of grob names, or NULL.
This will give an error if the current plot has no grobs, as returned by
Felix Andrews [email protected]
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.