removeNAN: removeNAN

Description Usage Arguments Value Examples

Description

removeNAN removes the missing values from the data matrix.

Usage

1
removeNAN(x, v = 0)

Arguments

x

a matrix of numeric values

v

the value assigned to the missing values, by default, 0

Value

a matrix of numeric values

Examples

1
2
3
x <- matrix(c(0,1,NA,2),ncol=2)
x
removeNAN(x)

fanglab/MatrixEpistasis documentation built on May 25, 2019, 5:22 p.m.