errorcheck displays error messages and/or warnings concerning the validity of input arguments provided to the analysis functionDisplays error messages for the analysis function according to the nature of the error
errorcheck displays error messages and/or warnings concerning the validity of input arguments provided to the analysis function
errorcheck(data, col_var)data.frame or data.table containing the data to be analyzed. Same object that is passed as input argument to the analysis function.
column variable. Contains a string that indicates the name of the column to analyze ("id","input",etc.)
Doesn't return a value. Either displays directly the error message/warning or changes data type in the data.frame/data.table provided