checkVarInData {clinUtils} | R Documentation |
Check if specified variables are in the data. If they are not, they are removed from specified variables and a message is printed.
Description
Check if specified variables are in the data. If they are not, they are removed from specified variables and a message is printed.
Usage
checkVarInData(var, data, label)
Arguments
var |
Character vector with variables. |
data |
Data.frame with data. |
label |
String with label used in message. |
Value
var
present in data
,
NULL if empty
[Package clinUtils version 0.2.0 Index]