svgtools-package: svgtools: Manipulate SVG (Template) Files of Charts

svgtools-packageR Documentation

svgtools: Manipulate SVG (Template) Files of Charts

Description

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.

Details

Package options:

  • svgtools.roundAwayFromZero: When set to TRUE, use rounding away from zero (eg. 0.5 becomes 1) instead of base::round(); default is FALSE

Author(s)

Maintainer: Christian Wimmer christian.wimmer@iqs.gv.at

Authors:

  • Konrad Oberwimmer

Other contributors:

  • Michael Bruneforth [contributor]


svgtools documentation built on June 22, 2024, 10:35 a.m.