naOmitMedian: Calculates the median of an array excluding NAs

Description Usage Arguments Examples

View source: R/MiChip.R

Description

Calculates the median of an array excluding NAs

Usage

1
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

Examples

1
2
3
4
5
	#Calculate the median of matrix mat omiting NAs
## Not run: 
	myMedian <-naOmitMedian(mat, madAdjust=TRUE)

## End(Not run)

MiChip documentation built on Nov. 8, 2020, 8:01 p.m.