Learn R Programming

Kmisc (version 0.5.0)

remove_na: Remove NA Entries from a Vector

Description

This function removes all NA entries from a vector.

Usage

remove_na(x)

Arguments

x
An (atomic) vector, or a list / data.frame.

Details

For data.frames, we use complete.cases to remove NAs, and hence remove all rows for which an NA value in encountered.