View source: R/cheers_checker.R
find_next_vector_element | R Documentation |
Find the next element of the vector after a value
find_next_vector_element(value, vector, LTE = FALSE)
value |
A value of numeric values |
vector |
A vector of numeric values |
LTE |
a boolean to determine collection on "greater than or equal" |
The next element of the vector after the value
find_next_vector_element(value = 5, vector = 1:10)
find_next_vector_element(value = 5, vector = 1:4)
find_next_vector_element(value = 5, vector = 1:5, LTE = FALSE)
find_next_vector_element(value = 5, vector = 1:5, LTE = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.