errorcheck {doremi}R Documentation

Displays 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

Description

Displays 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

Usage

errorcheck(data, col_var)

Arguments

data

data.frame or data.table containing the data to be analyzed. Same object that is passed as input argument to the analysis function.

col_var

column variable. Contains a string that indicates the name of the column to analyze ("id","input",etc.)

Value

Doesn't return a value. Either displays directly the error message/warning or changes data type in the data.frame/data.table provided


[Package doremi version 1.0.0 Index]