Description Usage Arguments Details Value
Find interval containing a specific value from an quantilefactor
object
1 | find_interval(x, val, return_labels = FALSE)
|
x |
a |
val |
a |
return_labels |
if |
function checks the pattern of the factor labels, which have to be in the form of an interval. The specific regular expression that is checked is ^(\(|\[)-*[0-9.]+(e-\d+)*,-*[0-9.]+(e-\d+)*(\)|\])$
.
returns the number of the quantile to which each element in x
belongs. The lowest quantile has number 1 (not 0).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.