check_dataset: Check that the dataset is not empty and has more than 1...

View source: R/checks.R

check_datasetR Documentation

Check that the dataset is not empty and has more than 1 column.

Description

Errors if there are no rows or fewer than 2 columns.

Usage

check_dataset(dataset)

Arguments

dataset

Data frame with an outcome variable and other columns as features. Alternatively, the input can be in TreeSummarizedExperiment format.

Author(s)

Kelly Sovacool, sovacool@umich.edu

Examples

## Not run: 
check_dataset(otu_small)

## End(Not run)

mikropml documentation built on Dec. 1, 2025, 9:08 a.m.