all_na: function to test if an entire column is NA

View source: R/helper_fun.R

all_naR Documentation

function to test if an entire column is NA

Description

This function tests for completely NA columns

Usage

all_na(x)

Arguments

x

any column in a dataframe

Value

Returns boolean TRUE if column is all NA, FALSE if not

Examples

test <- all_na(c(NA, "a", NA))


PVplr documentation built on Feb. 16, 2023, 9:56 p.m.