pOverA(genefilter)
pOverA()所属R语言包:genefilter
A filter function to filter according to the proportion of
一个过滤功能,过滤按比例
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A function that returns a function with values for A, p and na.rm bound to the specified values. The function takes a single vector, x, as an argument. When the returned function is evaluated it returns TRUE if the proportion of values in x that are larger than A is at least p.
一个函数返回一个函数值A,p和na.rm绑定到指定的值的。该函数需要一个单一的向量,x,作为一个参数。返回的函数求值时,它返回TRUE如果值的比例在x比A至少p较大。
用法----------Usage----------
pOverA(p=0.05, A=100, na.rm=TRUE)
参数----------Arguments----------
参数:A
The value to be exceeded.
值超标。
参数:p
The proportion that need to exceed A for TRUE to be returned.
的比例,需要超过ATRUE要返回。
参数:na.rm
If TRUE then NA's are removed.
如果TRUE然后NA的将被删除。
值----------Value----------
pOverA returns a function with bindings for A, p and na.rm. This function evaluates to TRUE if the proportion of values in x that are larger than A exceeds p.
pOverA返回绑定A的功能,p和na.rm。此功能TRUE如果评估值的比例在x大于A超过p的。
作者(S)----------Author(s)----------
R. Gentleman
参见----------See Also----------
cv
cv
举例----------Examples----------
ff<- pOverA(p=.1, 10)
ff(1:20)
ff(1:5)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|