check_input: Check that the input is a valid dataframe

View source: R/c_prepare.R

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


dropout documentation built on Nov. 2, 2024, 1:12 a.m.