Skip to contents

Warn if a variable contains no values in a set

Usage

warn_var_no_vals(df, var, vals)

Arguments

df

The data frame to check for existing variables

var

A variable name

set

A character vector of values to check for

Details

This function checks if any of the variables in vars contain no values in set.