is_proportion | R Documentation |
This function checks whether the input is proper proportion, i.e., a single
numeric
between 0 and 1.
is_proportion(x, error = TRUE)
x |
Any object. |
error |
In the case that |
If error = TRUE
, either invisibly TRUE
or an error is thrown.
If error = FALSE
, invisibly TRUE
or FALSE
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.