Learn R Programming

datacheckr (version 0.2.0.9002)

check_data_frame: Check Data Frame

Description

Checks that data is a data frame.

Usage

check_data_frame(data, data_name = substitute(data))

Arguments

data
The data frame to check.
data_name
A string of the name of data.

Value

Throws an informative error or returns an invisible copy of data.