Skip to contents

Ensures that data is a data.frame. Used internally for input validation across the package.

Usage

checkData(data)

Arguments

data

Object to check.

Value

Invisible data if valid, otherwise an error is thrown.