Description Usage Arguments Details Value Author(s)
Encode SVG special chars (ampersand, etc) as the appropriate XML encoding.
1 | encodeSVGSpecialChars(x, sub.special = TRUE, xent = FALSE)
|
x |
A vector of character data to be encode. |
sub.special |
If |
xent |
If |
The following substitutions are made:
Character | XML encoding | XML entity |
\& | \& | \&\#38 |
\' | \' | \&\#30 |
\" | \" | \&\#34 |
\< | \< | \&\#60 |
\> | \> | \&\#62 |
The vector x
with encodings as appropriate.
Tony Plate tplate@acm.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.