rm.na: Remove missing values

Description Usage Arguments Value Author(s) Examples

View source: R/maSMA.R

Description

Remove NA's, NAN's and INF's from a vector.

Usage

1
rm.na(x)

Arguments

x

A numeric vector

Value

A vector with all NA's remove.

Author(s)

Jean Yang

Examples

1
2
3
4
x <- round(rnorm(10), 2)
x[c(2,4,5)] <- NA
x
rm.na(x)

Example output

Loading required package: limma
 [1]  0.64    NA -0.64    NA    NA  0.58  0.25  0.38 -0.79 -1.86
[1]  0.64 -0.64  0.58  0.25  0.38 -0.79 -1.86

marray documentation built on Nov. 8, 2020, 6:46 p.m.