Skip to contents

Check for columns that are empty/identical

Usage

data_check(df)

Arguments

df

dataframe to check

Value

a warning message if there exists empty columns or columns with no variation in the data

Examples

df <- data.frame(x1 = rnorm(100), x2 = rnorm(100), x3 = NA, x4 = 1)
data_check(df)
#> Error in data_check(df): could not find function "data_check"