View source: R/50-ordered_sequence-ops.R
| lower_bound | R Documentation |
>= QueryFind First Element with Key >= Query
lower_bound(x, key)
x |
An |
key |
Query key. |
lower_bound() finds the first element with key >= key. This includes an
exact key match when present, which is useful for starting equality or
inclusive range scans.
A list with fields:
found: logical flag.
index: one-based position of the first match, or NULL.
value: matched element, or NULL.
key: matched key, or NULL.
upper_bound()
x <- ordered_sequence("a", "b", "c", keys = c(1, 2, 2))
lower_bound(x, 2)
lower_bound(x, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.