validate_data {DCEM}R Documentation

validate_data: Part of DCEM package. Used internally in the package.

Description

Implements sanity check for the input data. This function is for internal use and is called by the dcem_train.

Usage

validate_data(columns, numcols)

Arguments

columns

(string): A comma separated list of columns that needs to be removed from the dataset. Default: ”

numcols

(numeric): Number of columns in the dataset.

Details

An example would be to check if the column to be removed exist or not? trim_data internally calls this function before removing the column(s).

Value

boolean: TRUE if the columns exists otherwise FALSE.


[Package DCEM version 2.0.5 Index]