cv(genefilter)
cv()所属R语言包:genefilter
A filter function for the coefficient of variation.
一种变异系数的过滤功能。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
cv returns a function with values for a and b bound. This function takes a single argument. It computes the coefficient of variation for the input vector and returns TRUE if the coefficient of variation is between a and b. Otherwise it returns FALSE
cv返回一个值a和b绑定的功能。这个函数接受一个参数。它计算的变异系数为输入向量,并返回TRUE如果a和b之间的变异系数。否则返回FALSE
用法----------Usage----------
cv(a=1, b=Inf, na.rm=TRUE)
参数----------Arguments----------
参数:a
The lower bound for the cv.
下界的简历。
参数:b
The upper bound for the cv.
CV约束的上限。
参数:na.rm
If set to TRUE any NA's will be removed.
如果设置为TRUE任何NAs将被删除。
Details
详情----------Details----------
The coefficient of variation is the standard deviation divided by the absolute value of the mean.
变异系数是标准差除以平均绝对值。
值----------Value----------
It returns a function of one argument. The function has an environment with bindings for a and b.
它返回一个参数的函数。函数a和b绑定的环境。
作者(S)----------Author(s)----------
R. Gentleman
参见----------See Also----------
pOverA, kOverA
pOverA,kOverA
举例----------Examples----------
set.seed(-3)
cvfun <- cv(1,10)
cvfun(rnorm(10,10))
cvfun(rnorm(10))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|