check_dataset {mikropml}R 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)

[Package mikropml version 1.6.1 Index]