| is_fraction | R Documentation | 
Is fraction
is_fraction(x, .xname = get_name_in_parent(x))
assert_is_fraction(x, .xname = get_name_in_parent(x))
| x | number | 
| .xname | string | 
TRUE or false
is_fraction(0.1)          # YES
is_fraction(1)            # YES
is_fraction(1.2)          # NO - more than 1
is_fraction(c(0.1, 0.2))  # NO - vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.