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

Description Usage Arguments Details Value

View source: R/sanitycheck.R

Description

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

Usage

1
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.


DCEM documentation built on Jan. 16, 2022, 1:07 a.m.