safe_set_variable_labels function

Safely set variable labels

Safely set variable labels

A utility function for setting labels of a tibble from a named vector while accounting for labels that may not be present in the data.

safe_set_variable_labels(data, labs)

Returns

A tibble