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.

Author(s)

Kelly Sovacool, sovacool@umich.edu

Examples

## Not run: 
check_dataset(otu_small)

## End(Not run)

SchlossLab/mikRopML documentation built on Aug. 26, 2023, 5:58 a.m.