is.probability | R Documentation |
Predicate checking for a probability
is.probability(x, bounds = TRUE)
x |
the object being checked |
bounds |
whether to include the bounds 0 and 1 (default) |
Returns TRUE
if x
is a probability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.