Skip to contents

Check if variable exist

Usage

var_exists(df, var)

Arguments

df

data frame to check against

var

quoted variable of interest

See also

Other utility: get_baseurl()

Examples

if (FALSE) { # \dontrun{
var_exists(df, "val") } # }