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

not.null

Opposite of is.null


Description

Given a list, returns TRUE for all entities that aren't NULL.

Usage

not.null(x)

Arguments

x

A vector to check for NULLs against.

Value

Elements that aren't NULL

Examples

not.null(list(1, NULL, 2, NULL))

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.