grid.hyperlink | R Documentation |
Creates a linked.grob object which is a normal grid grob,
with a hyperlink attached. Useful in conjunction with
grid.export
, to produce an SVG document with
hyperlinked graphical elements.
grid.hyperlink(path, href, show=NULL, group=TRUE, redraw=FALSE,
strict=FALSE, grep=FALSE, global=FALSE)
hyperlinkGrob(x, href, show=NULL, group=TRUE)
x |
A grob to add a hyperlink to. |
path |
A grob path specifying a drawn grob. |
href |
A valid Xlink URI. Can be a vector of several links
(see |
show |
A character vector specifying how the link should be opened.
|
group |
A logical indicating whether the hyperlinks should be attached to the overall parent group for the relevant SVG element, or to individual SVG elements. |
redraw |
A logical value to indicate whether to redraw the grob. |
strict |
A boolean indicating whether the |
grep |
Whether the |
global |
A boolean indicating whether the function should affect just the
first match of the |
A linked.grob object.
Paul Murrell
grid.export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.