R: Saves objects of class 'sparkline', 'sparkbar', 'sparkhist'...
export-methods
R Documentation
Saves objects of class 'sparkline', 'sparkbar', 'sparkhist' or 'sparkbox' to a file
Description
Spark-Objects are plotted and saved into different file-formats while for objects of class sparkTable all required graphs are stored and the necessary code to include the graphical table in the desired format is returned to the promt.
an object of class 'sparkline', 'sparkbox' or 'sparkbar'.
outputType
for objects of class sparkline, sparkbar or sparkbox a character vector specifying the desired output formats. Supported formats are:
'pdf': a pdf image is produced
'eps': an eps image is procuded
'png': a png image is procuded
'svg': a svg image is produced
For objects of class sparkTable a character vector specifying the desired output format, supported types are:
"tex": latex output is produced
"html": html output (using png-graphs) is generated
"htmlsvg": html output (using svg-graphs) is generated
filename
the filename of the output (minus '.pdf', 'eps','.eps', 'svg' for single graphs, minus '.tex' or '.html' for graphical tables
graphNames
the main part of the single graphic files that are produced (minus '-someIndex.extension'
infonote
TRUE/FALSE if the latex command should be included in the output, only used for graphical tables (sparkTable)
scaleByCol
Either TRUE/FALSE to set the scaling for all columns or a TRUE/FALSE vector of the same length as the content object. Keeps the scaling the same in all rows of a column. This parameter is used only for graphical tables (sparkTable)
transpose
logical vector of length 1 defining if the plot be transposed (for geoTable-objects)
include.rownames
logical vector of length 1 defining if rownames should be included (for geoTable-objects)
include.colnames
logical vector of length 1 defining if colnames should be included (for geoTable-objects)