is_single_positive_decimal | R Documentation |
Tests if an object is a single positive decimal
is_single_positive_decimal(x)
x |
an R object |
is_single
,
is_single_positive
,
is_single_negative_decimal
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.