svgtools: Manipulate SVG (Template) Files of Charts

The purpose of this package is to manipulate SVG files that are templates of charts the user wants to produce. In vector graphics one copes with x-/y-coordinates of elements (e.g. lines, rectangles, text). Their scale is often dependent on the program that is used to produce the graphics. In applied statistics one usually has numeric values on a fixed scale (e.g. percentage values between 0 and 100) to show in a chart. Basically, 'svgtools' transforms the statistical values into coordinates and widths/heights of the vector graphics. This is done by stackedBar() for bar charts, by linesSymbols() for charts with lines and/or symbols (dot markers) and scatterSymbols() for scatterplots.

Version: 1.0.1
Depends: R (≥ 4.0.0)
Imports: xml2 (≥ 1.3.0), stringr (≥ 1.4.0), rsvg (≥ 2.1), magick (≥ 2.4.0)
Suggests: knitr, rmarkdown
Published: 2021-03-03
Author: Konrad Oberwimmer [aut, cre], Christian Wimmer [aut], Michael Bruneforth [ctb]
Maintainer: Konrad Oberwimmer <konrad.oberwimmer at>
License: GPL-3
NeedsCompilation: no
CRAN checks: svgtools results


Reference manual: svgtools.pdf
Vignettes: svgtools: Manipulate SVG template files of charts.
Package source: svgtools_1.0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel: not available
macOS binaries: r-release: svgtools_1.0.1.tgz, r-oldrel: not available
Old sources: svgtools archive


Please use the canonical form to link to this page.