set to names to always use variable names instead of labels for X
Author
Frank Harrell
Details
Uses a formula with a single left hand side variable (Y) and one or more numeric right hand side variables (X). Uses data.table::melt() to melt data so that each X is played against the same Y. The resulting data table has variables Y with its original name, variable, and value. By default variable is taken as label()s of X variables.