Description Usage Arguments Details Value Note
check_at and check_if apply lists predicates on lists of subsets of a data frame. They are suitable for programming and for data analysis pipelines.
1 2 3 |
data |
data frame |
.ats |
list. Each element of .ats can be a character vector of names or a numeric vector of positions. Only those elements corresponding to .at will be modified. |
.fs |
list. Each elemnt of .fs can be a single predicate function or a formula describing such a predicate function. Must return a scalar logical. |
individually |
scalar logical. If TRUE, each column in the subset is passed to .f. if FALSE, the entire subset dataframe is passed. |
.ps |
list. Each elemnt of .ps can be a single predicate function, a formula describing such a predicate function, or a logical vector of the same length as the number of cols of data. Only those elements where .p evaluates to TRUE will be checked |
details about form of checks
list
zip
is a useful function for creating
lists of checks and subsets.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.