marray (version 1.50.0)

rm.na: Remove missing values

Description

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

Usage

rm.na(x)

Arguments

x
A numeric vector

Value

A vector with all NA's remove.

Examples

Run this code
x <- round(rnorm(10), 2)
x[c(2,4,5)] <- NA
x
rm.na(x)

Run the code above in your browser using DataCamp Workspace