sanity_check: Check your sanity and the length or rows for equality

Description Usage Arguments Value Examples

Description

After creating train and test datasets in ML, check to make sure that the correponsing weights, or response vectors are the same amount of observations as the original dataset.

Usage

1
sanity_check(check1, check2, ...)

Arguments

check1

a object of class data.frame, character, or numeric

check2

a object of class data.frame, character, or numeric

...

optional arguements passed through (TBD)

Value

a string indicating the success of the comparison or failure of equality of observations form both input objects

Examples

1
2

jasdumas/dumas documentation built on May 18, 2019, 4:49 p.m.