Rdocumentation
powered by
Learn R Programming
Kmisc (version 0.5.0)
kSvg: HTML - Source an SVG file
Description
Convenience function for
cat
-ing out HTML markup for an SVG image, using
.
Usage
kSvg(file = NULL, width = 4, height = 4, class = NULL)
Arguments
file
path to the SVG file you want to embed
width
width (in pixels) of the SVG file (or, more accurately, canvas in which that file is displayed)
height
height (in pixels) of the SVG file (or, more accurately, canvas in which that file is displayed)
class
class passed to the
tag