Learn R Programming

mikropml (version 1.6.1)

check_dataset: 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

Kelly Sovacool, sovacool@umich.edu

Examples

Run this code
if (FALSE) {
check_dataset(otu_small)
}

Run the code above in your browser using DataLab