check_input: 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)
Value
NULL. The function stops with an error message if the input is not a valid dataframe.