is_in_range | R Documentation |
This function checks if a value falls within the distribution range defined by a set of numbers, represented by the minimum and maximum values of the set.
is_in_range(value, my_set)
value |
The value to be checked |
my_set |
A set of numbers defining the distribution range |
A logical value, TRUE if the value falls within the distribution range, FALSE otherwise
my_set <- c(10, 20, 30, 40, 50)
is_in_range(25, my_set)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.