Learn R Programming

tidytidbits (version 0.3.3)

are_true: Vectorised conversion to logical, treating NA as False

Description

Vectorised conversion to logical, treating NA as False

Usage

are_true(x)

Value

A logical vector of same size as x which is true where x is true (as_logical) and not NA

Arguments

x

A vector