Calculates the median of an array excluding NAs
计算不包括NAS阵列的中位数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Calculates the median of an array excluding NAs
计算不包括NAS阵列的中位数
用法----------Usage----------
naOmitMedian(mat, madAdjust=FALSE)
参数----------Arguments----------
参数:mat
A single dimensional matrix
一个单一的二维矩阵
参数:madAdjust
if TRUE then summarized data will be filtered according to the MAD median absolute deviation and set to NA if the median is less than MAD
如果TRUE然后汇总数据将被过滤疯狂的中位数绝对偏差设置NA如果中位数是比狂热
举例----------Examples----------
#Calculate the median of matrix mat omiting NAs[计算矩阵的垫子omiting定居的中位数]
## Not run: [#无法运行:]
myMedian <-naOmitMedian(mat, madAdjust=TRUE)