plotSparks-methods(sparkTable)
plotSparks-methods()所属R语言包:sparkTable
Plot objects of class 'sparkline', 'sparkbar', 'sparkhist' or 'sparkbox'
绘制对象类“迷你图”,“sparkbar”,“sparkhist或sparkbox”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function that calls plot-methods for objects of class 'sparkline', 'sparkbar', 'sparkhist' or 'sparkbox'.
函数调用绘图方法的对象类的迷你图“,”sparkbar“,”sparkhist“或”sparkbox。
用法----------Usage----------
plotSparks(object, outputType='pdf', filename='testSpark', ...)
参数----------Arguments----------
参数:object
an object of class 'sparkline', 'sparkbox' or 'sparkbar'.
一个对象类“迷你图”,“sparkbox”或“sparkbar”的。
参数:outputType
a character vector of length one specifying the desired output format:
字符向量的长度指定所需的输出格式:
'pdf': a pdf image is produced
PDF格式:PDF图像
'eps': an eps image is procuded
EPS:EPS图像procuded
'png': a png image is procuded </ul>
PNG:PNG图像的procuded </ ul>
参数:filename
the filename of the output (minus '.pdf', 'eps' or '.eps'
输出的文件名(减“PDF”,“每股盈利”或“。EPS
参数:...
additional parameters to be passed
额外的参数传递
(作者)----------Author(s)----------
Bernhard Meindl, Alexander Kowarik, Statistics Austria
实例----------Examples----------
data(pop)
x <- pop[pop[,2]=="Insgesamt",3]
a <- newSparkLine(values=x, pointWidth=8)
plotSparks(a, outputType='pdf', filename='myFirstSparkLine')
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|