Learn R Programming

tidytidbits (version 0.3.2)

are_true: Vectorised conversion to logical, treating NA as False

Description

Vectorised conversion to logical, treating NA as False

Usage

are_true(x)

Arguments

x

A vector

Value

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