Description Usage Arguments Value Author(s)
This is a collection of functions that others may want to use to post-process SVG plots created with R's cairo graphics device.
setIds
arranges to set an idattribute on each of the nodes.
This can be used in subsequent processing of SVG content
and most importantly in ECMAscript code that works with the
SVG elements at view/run time.
1 2 |
nodes |
the SVG element nodes |
ids |
characters giving the values of the identifiers for the nodes. They should be unique. |
fix |
a prefix and suffix. |
sep |
separtor used between the prefix and suffix and the ids. |
The identifiers strings.
Duncan Temple Lang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.