Description Usage Arguments Value
Checks the class and values of columns in data.
1 2 3 4 5 6 7 | check_values(
data,
values = NULL,
unique = TRUE,
nulls = FALSE,
data_name = substitute(data)
)
|
data |
The data frame to check. |
values |
A named list specifying the columns and their associated classes and values. |
unique |
A string indicating if columns must only be defined in values. |
nulls |
A string indicating if values can be NULL. |
data_name |
A string of the name of data. |
Throws an informative error or returns an invisible copy of the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.