Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

not.na

Opposite of is.na


Description

Given a vector, returns TRUE for all entities that aren't NA.

Usage

not.na(x)

Arguments

x

A vector to check for NAs against.

Value

A vector of elements that aren't NA

Examples

not.na(c(1, NA, 2, NA))

upstartr

Utilities Powering the Globe and Mail's Data Journalism Template

v0.1.1
MIT + file LICENSE
Authors
Tom Cardoso [aut, cre] (creator and maintainer), Michael Pereira [ctb], The Globe and Mail Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.