Description Usage Arguments Value Note See Also
Predicate fields of dataframe are specified type or not.
1 2 3 4 5 6 7 8 |
data |
A vector of date/timestamps. |
expect_type |
A character of type to test, e.g. "numeric", "integer", "double", "character", "date", "factor", "list", "NA" |
negate |
A logic flag of whether to negate expect_type of not, Default FALSE means not to negate the expect_type. |
predicate_fun |
A function used as testing, return TRUE if matched. Default NULL means not to use predicate_fun for testing. |
... |
Params to predicate_fun. |
return a vectors of logical with same length of names of dataframe.
numeric means integer or double; double don't include date.
Other utils_fields:
expect_type_fields()
,
verify_fields()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.