not.na: Opposite of is.na

not.naR Documentation

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 documentation built on May 29, 2024, 9:08 a.m.