filterfun(genefilter)
filterfun()所属R语言包:genefilter
Creates a first FALSE exiting function from the list of
创建第一个FALSE退出名单功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function creates a function that takes a single argument. The filtering functions are bound in the environment of the returned function and are applied sequentially to the argument of the returned function. When the first filter function evaluates to FALSE the function returns FALSE otherwise it returns TRUE.
这个函数创建一个函数接受一个参数。在返回的函数的环境约束的过滤功能和应用顺序返回的函数的参数。当第一个过滤函数的计算结果为FALSE函数返回FALSE否则返回TRUE。
用法----------Usage----------
filterfun(...)
参数----------Arguments----------
参数:...
Filtering functions.
过滤功能。
值----------Value----------
filterfun returns a function that takes a single argument. It binds the filter functions given to it in the environment of the returned function. These functions are applied sequentially (in the order they were given to filterfun). The function returns FALSE (and exits) when the first filter function returns FALSE otherwise it returns TRUE.
filterfun返回一个函数接受一个参数。它结合在返回的函数的环境给它的过滤功能。这些功能的应用顺序(在它们的顺序filterfun)。函数返回FALSE(和退出)时,第一个过滤函数返回FALSE否则返回TRUE。
作者(S)----------Author(s)----------
R. Gentleman
参见----------See Also----------
genefilter
genefilter
举例----------Examples----------
set.seed(333)
x <- matrix(rnorm(100,2,1),nc=10)
cvfun <- cv(.5,2.5)
ffun <- filterfun(cvfun)
which <- genefilter(x, ffun)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|