util_check_all_values_in checks if values in vector x are in y. Values in x may contain multiple values separated by sep so these are split first using str_split.

util_check_all_values_in(x, y, sep = " ")

Arguments

x

Vector

y

Vector

sep

Amount of space separating values to be split, default = " " (a single space)

Value

Vector of logical values