select.NA.elements: Selects NA values of a given numeric matrix

Description Usage Arguments Value Author(s)

View source: R/selectionFunctions3.R

Description

Selects of a given numeric matrix rows or columns containing more NA values than defined by a given threshold.

Usage

1
select.NA.elements(x, NAthreshold, byRow = TRUE)

Arguments

x

numeric input matrix

NAthreshold

numeric value between 0 and 1, determining the allowed percentage of NA values per row or column. Rows or columns containing more NA values are selected.

byRow

logical. If TRUE, then rows with more NA values than determined by the argument threshold are selected, else columns.

Value

logical vector containing the row or column selection. If argument byRow = TRUE, then value contains as many values as the input matrix contains rows, else it contains as many values as the input matrix contains columns.

Author(s)

Patrick Warnat mailto:p.warnat@dkfz-heidelberg.de


MCRestimate documentation built on Oct. 31, 2019, 10:29 a.m.