Description Usage Arguments Value Examples
Checks that the elements of a column belong to a certain set
1 | sc_col_elements(object, col, feasible_elements, ...)
|
object |
table with a column specified by |
col |
name as a character of the column which is checked |
feasible_elements |
vector with characters that are feasible
for |
... |
further parameters that are passed to add_sanity_check. |
see return object of add_sanity_check
1 2 3 4 5 6 | d <- data.frame(type = letters[1:4], nmb = 1:4)
dummy_call <- function(x) {
sc_col_elements(object = d, col = "type", feasible_elements = letters[2:4])
}
dummy_call(x = d)
get_sanity_checks()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.