Check if specified variables are in the data. If they are not, they are removed from specified variables and a message is printed.
checkVarInData(var, data, label)
var
present in data
,
NULL if empty
Character vector with variables.
Data.frame with data.
String with label used in message.