rmNaInf: Remove rows with missing and Inf values from a matrix

View source: R/rmNaInf.R

rmNaInfR Documentation

Remove rows with missing and Inf values from a matrix

Description

Remove rows with missing and Inf values from a matrix

Usage

rmNaInf(x)

Arguments

x

A numeric matrix.

Value

The updated input matrix where rows with NA and Inf values are removed.

Examples

m = matrix(rnorm(100),ncol=10)
m[1,1] = NA

m1 = rmNaInf(m)
dim(m1)


shbrief/GenomicSuperSignature documentation built on May 3, 2023, 10:07 p.m.