na(marray)
na()所属R语言包:marray
Basic Statistical Functions for Handling Missing Values
处理缺失值的基本统计功能
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Basic statistical functions for handling missing values or NA. <br> In log.na, sum.na, mean.na and var.na, quantile.na, length.na, missing values are omitted from the calculation. <br> The function cor.na calls cor with the argument use="pairwise.complete.obs". <br> The function order.na only handles vector arguments and not lists. However, it gives the option of omitting the NAs (na.last=NA), of placing the NAs at the start of the ordered vector (na.last=F) or at the end (na.last=T). <br> The function scale.na is a modified version of scale which allows NAs in the variance calculation. If scale = T, the function f in scale.na uses var.na to perform the variance calculation. The function prod.na is similar to the prod function with na.rm=TRUE. This function returns the product of all the values present in its arguments, omitting any missing values.
处理缺失值或NA的基本统计功能。参考在log.na,sum.na,mean.na和var.na,quantile.na,length.na,遗漏值计算省略。参考函数cor.na要求cor参数use="pairwise.complete.obs"。参考函数order.na只能处理向量参数,而不是名单。然而,它给忽略NAS的选项(na.last=NA),放置有序的向量(na.last=F)(na.last=T)或在年底开始在NAS。参考函数scale.na是scale允许NAS在方差计算修改后的版本。如果scale = T,功能fscale.na使用var.na执行方差计算。功能prod.naprodna.rm=TRUE功能是类似的。这个函数返回的所有值的产品目前在它的参数,省略任何遗漏值。
作者(S)----------Author(s)----------
Yee Hwa Yang, <a href="mailto:jean@biostat.berkeley.edu">jean@biostat.berkeley.edu</a> <br>
参见----------See Also----------
log, sum, mean, var, cor, order,
log,sum,mean,var,cor,order
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|