Description Usage Arguments See Also Examples
Tests if an object is a single positive decimal
1 |
x |
an R object |
is_single
,
is_single_positive
,
is_single_negative_decimal
1 2 3 4 5 | is_single_positive_decimal(0.01) # TRUE
is_single_positive_decimal(-3/4) # FALSE
is_single_positive_decimal("hoskdflksfd") # FALSE
is_single_positive_decimal("1.0") # FALSE
is_single_positive_decimal(1:5) # FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.