summarizeExpData(Genominator)
summarizeExpData()所属R语言包:Genominator
Summarize a data column
总结了数据列
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function returns a summary of one or more data columns, as indicated by a particular SQLite query function.
此函数返回一个或多个数据列表示,作为一个特定的SQLite的查询功能的摘要。
用法----------Usage----------
summarizeExpData(expData, what = getColnames(expData, all = FALSE),
fxs = c("TOTAL"), preserveColnames = TRUE, whereClause = "",
verbose = getOption("verbose"))
参数----------Arguments----------
参数:expData
An object of class ExpData.
对象类ExpData。
参数:what
Vector of names of data columns to be summarized.
矢量数据列的名称来概括。
参数:fxs
Vector of strings giving the names of SQLite functions to call on the data column.
SQLite的功能名称的字符串数据列呼吁的向量。
参数:preserveColnames
Logical indicating whether column names should be preserved.
逻辑表明是否列名应予以保留。
参数:whereClause
Additional filtration criteria, customizable to refer to additional data columns. See Details for more explanation.
额外的过滤标准,定制是指额外的数据列。详情请参阅更多的解释。
参数:verbose
Logical indicating whether details should be printed.
逻辑说明是否应印有细节。
Details
详情----------Details----------
The argument whereClause should be a string indicating a subset of the data to be selected. For example, if you have a column called category, you could specify "category = 1" to select only those data entries where category has a value of 1. This function operates as a database query, and thus the argument can include logical combinations of multiple criteria using SQL boolean operators.
参数whereClause应该是一个字符串,表示被选中的数据的一个子集。例如,如果您有称为category列,你可以指定"category = 1"只选择那些数据项类别都有一个值为1。此功能作为一个数据库查询,因此该参数可以包括多个标准,使用SQL布尔运算的逻辑组合。
值----------Value----------
A vector with results of summarization.
与汇总结果的向量。
作者(S)----------Author(s)----------
James Bullard <a href="mailto:bullard@berkeley.edu">bullard@berkeley.edu</a>,
Kasper Daniel Hansen <a href="mailto:khansen@jhsph.edu">khansen@jhsph.edu</a>
参考文献----------References----------
http://www.sqlite.org/lang_aggfunc.html
参见----------See Also----------
See Genominator vignette for more information.
看到Genominator更多信息插曲。
举例----------Examples----------
ed <- ExpData(system.file(package = "Genominator", "sample.db"),
tablename = "raw")
summarizeExpData(ed)
summarizeExpData(ed, fxs = c("MIN", "MAX", "AVG"))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|