aggregateFun(DEDS)
aggregateFun()所属R语言包:DEDS
Aggregate Statistical Functions for DEDS
DEDS的汇总统计功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function takes statistic functions and creates a function that takes a matrix as a single argument. The statistic functions are bound in the environment of the returned function and are applied sequentially to the argument of the returned function.
此功能统计功能,并创建一个函数,它作为一个参数矩阵。统计功能势必在返回的函数的环境和应用顺序返回的函数的参数。
用法----------Usage----------
aggregateFun(...)
参数----------Arguments----------
参数:...
Functions of various statistics, could be in a list.
各种统计数据的功能,可以在列表中。
Details
详情----------Details----------
The function takes several statistics functions or a list of these functions and returns a function (F) with bindings to the input statistics functions. F takes a data matrix as its single argument, and apply the bound statistical functions sequentially to the data matrix.
该函数有几个统计功能,这些功能的列表,并返回一个绑定功能(F)输入统计功能。 F作为一个数据矩阵,其单个参数和应用结合的统计功能,比上一季度的数据矩阵。
值----------Value----------
It returns a function that takes a matrix as its single argument. The function returns a matrix of statistics, with m rows corresponding to variables (hypotheses) and n columns corresponding to specified statistics.
它返回一个函数,它作为其单一参数矩阵。该函数返回一个矩阵的统计,与m行相应的变量(假设)和n列对应指定的统计数字。
作者(S)----------Author(s)----------
Yuanyuan Xiao, <a href="mailto:yxiao@itsa.ucsf.edu">yxiao@itsa.ucsf.edu</a>, <br>
Jean Yee Hwa Yang, <a href="mailto:jean@biostat.ucsf.edu">jean@biostat.ucsf.edu</a>.
参见----------See Also----------
comp.t, comp.FC, comp.F, comp.SAM, comp.modt, comp.modF,
comp.t,comp.FC,comp.F,comp.SAM,comp.modt,comp.modF
举例----------Examples----------
X <- matrix(rnorm(100, 0, 1), nc=10)
L <- rep(0:1,c(5,5))
t.fun <- comp.t(L)
fc.fun <- comp.FC(L)
sam.fun <- comp.SAM(L)
ffun <- aggregateFun(list(t.fun, fc.fun, sam.fun))
stats <- ffun(X)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|