grid.script | R Documentation |
Creates a script object which is a normal grid grob
containing an SVG script. Useful in conjunction with
grid.export
, to produce an SVG document with
script elements.
scriptGrob(script=NULL, filename=NULL, type="application/ecmascript",
inline=FALSE, name=NULL)
grid.script(...)
script |
A character value specifying script code. |
filename |
The name of a file that contains script code. |
type |
The type of the script code. |
inline |
A logical specifying whether the script code from the file should be included inline or just referenced. |
name |
A character value giving a name for the grob. |
... |
Arguments to be passed into |
A script.grob object.
Paul Murrell
grid.export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.