all_na {PVplr}R 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))


[Package PVplr version 0.1.2 Index]