找回密码
 注册
查看: 366|回复: 0

R语言 sparkTable包 summaryST()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:27:50 | 显示全部楼层 |阅读模式
summaryST(sparkTable)
summaryST()所属R语言包:sparkTable

                                         summaryST - data frame in a graphical table
                                         summaryST  - 数据框的图形表

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

summary for a data frame in a graphical table
摘要一个数据框中的图形表


用法----------Usage----------


summaryST(.Object, outputType="html", filename=NULL, graphNames="out",
        hist=TRUE,boxplot=TRUE,min=TRUE,quantile=TRUE,median=TRUE,
        mean=TRUE,max=TRUE,changeOrder=NULL,addFun=NULL,digits=2)



参数----------Arguments----------

参数:.Object
a data frame
一个数据框


参数:outputType
a character vector of length one specifying the desired output format:   
字符向量的长度指定所需的输出格式:

'tex': latex output is produced  
“TEX”:乳胶输出

'html': html output is procuded  </ul>          
“HTML”:,HTML输出procuded </ ul>


参数:filename
the filename of the output (minus '.tex' or '.html'
输出的文件名(减的tex或。的HTML“


参数:graphNames
the main part of the single graphic files that are produced (minus '-someIndex.extension'
单的图形产生的文件(减去的主要部分的 -  someIndex.extension


参数:hist
TRUE/FALSE for a histogramm
TRUE / FALSE的histogramm


参数:boxplot
TRUE/FALSE for a boxplot
TRUE / FALSE为一个盒形图


参数:min
TRUE/FALSE for the minimum
对于最小的TRUE / FALSE


参数:quantile
TRUE/FALSE for 1st and 3rd Quartile
TRUE / FALSE第一和第三个四分位数


参数:median
TRUE/FALSE for the median
的TRUE / FALSE的中位数


参数:mean
TRUE/FALSE for the mean
的TRUE / FALSE的均值


参数:max
TRUE/FALSE for the maximum
的TRUE / FALSE的最大


参数:changeOrder
Indices for reordering the columns of the table
指数将重新排序的表中的列


参数:addFun
named list of additional functions e.g. var
附加功能例如命名列表VAR


参数:digits
number of digits used for rounding
用于舍入的数字位数


值----------Value----------

object of class 'sparkTable' for further customizing the output (with setParameter)
对象的类的sparkTable进一步自定义输出(与setParameter)


(作者)----------Author(s)----------


Alexander Kowarik, Statistics Austria



参见----------See Also----------

plotSparkTable
plotSparkTable


实例----------Examples----------


data1 <- data.frame(x=rnorm(100),y=rlnorm(100),
  z=rbeta(100,1,1))
#default summary table[默认情况汇总表]
summaryST(data1,filename="st1a",graphNames="out1a")
#changing the order of the columns[改变的列的顺序]
summaryST(data1,filename="st1b",changeOrder=c(6,7,2,3,1,4,5),graphNames="out1b")
#adding a custom column[添加自定义列]
summaryST(data1,filename="st1c",addFun=list(var=function(x)round(var(x,na.rm=TRUE),2)),graphNames="out1c")


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-10 06:08 , Processed in 0.025450 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表