check_input {dropout}R Documentation

Check that the input is a valid dataframe

Description

This function checks if the input is a valid dataframe with at least two rows and two columns. It throws an error if the input does not meet these conditions.

Usage

check_input(data)

Arguments

data

The input to be checked.

Value

NULL. The function stops with an error message if the input is not a valid dataframe.


[Package dropout version 2.2.0 Index]