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.1.2 |
Depends: | R (≥ 4.0.0) |
Imports: | xml2 (≥ 1.3.0), stringr (≥ 1.4.0), rsvg (≥ 2.1), magick (≥ 2.4.0) |
Suggests: | knitr, rmarkdown, bezier, testthat (≥ 3.0.0) |
Published: | 2024-06-06 |
DOI: | 10.32614/CRAN.package.svgtools |
Author: | Christian Wimmer [cre, aut], Konrad Oberwimmer [aut], Michael Bruneforth [ctb] |
Maintainer: | Christian Wimmer <christian.wimmer at iqs.gv.at> |
License: | GPL-3 |
NeedsCompilation: | no |
Materials: | NEWS |
CRAN checks: | svgtools results |
Reference manual: | svgtools.pdf |
Vignettes: |
svgtools: Manipulate SVG template files of charts. |
Package source: | svgtools_1.1.2.tar.gz |
Windows binaries: | r-devel: svgtools_1.1.2.zip, r-release: svgtools_1.1.2.zip, r-oldrel: svgtools_1.1.2.zip |
macOS binaries: | r-devel (arm64): svgtools_1.1.2.tgz, r-release (arm64): svgtools_1.1.2.tgz, r-oldrel (arm64): svgtools_1.1.2.tgz, r-devel (x86_64): svgtools_1.1.2.tgz, r-release (x86_64): svgtools_1.1.2.tgz, r-oldrel (x86_64): svgtools_1.1.2.tgz |
Old sources: | svgtools archive |
Please use the canonical form https://CRAN.R-project.org/package=svgtools to link to this page.