h_find_interval | R Documentation |
A simple wrapper of findInterval()
function that invokes
findInterval()
, takes its output and replaces all the
elements with 0
value to a custom number as specified in replacement
argument.
h_find_interval(..., replacement = -Inf)
... |
Arguments passed on to
|
replacement |
( |
h_find_interval(1, c(2, 4, 6))
h_find_interval(3, c(2, 4, 6))
h_find_interval(1, c(2, 4, 6), replacement = -1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.