Description Usage Arguments Value
SVG images are processed in this package as base64-encoded, XML text data. When produced, certain differences are introduced in XML attributes that have no effect on the final plots. That is why, however, SVG plots need to be compared graphically and not textually. This function produces a thumbnail of each SVG image and then compares the raster graphic.
1 | svg_equal(a, b)
|
a |
First SVG image. |
b |
Second SVG image. |
TRUE
if SVGs are the same plot-wise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.