vars_to_list.Rd
Return a named list with unique values of variables
vars_to_list(x, vars, nm = NULL)
A data.table
variable to be turn to attributes.
variables for naming attributes
a named list with unique values