Learn R Programming

sdtmchecks (version 1.0.0)

lacks_msg: Check data frame for mandatory variables and specify which are missing in message

Description

Check data frame for mandatory variables and specify which are missing in message

Usage

lacks_msg(df, varnames)

Value

character string saying which variables are missing

Arguments

df

a data frame

varnames

a vector with variable names