Description Usage Arguments Details
Identify valid R data types from strings for proper type casting during data analysis and munging
1 2 3 4 5 6 7 | is_date(x)
is_int(x)
is_number(x)
is_boolean(x)
|
x |
a character vector of unit length |
This functions assist in many generic tasks such as configuration type casting, branching logic syntax conversion and data type checking during error reporting.
They are simply regular expressions that are evaluated to boolean outputs depending on whether the predicate meets the requirement.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.