i_match_label_or_idx {spectrolab} | R Documentation |
Match label or index
Description
Match label or index
Usage
i_match_label_or_idx(
x,
i,
full = FALSE,
allow_empty_lookup = FALSE,
allow_negative = FALSE
)
Arguments
x |
label vector |
i |
picked label or idx or NULL |
full |
boolean. If TRUE, a full list of results is returned |
allow_empty_lookup |
boolean. If TRUE, x is allowed to be NULL. Defaults to false |
allow_negative |
boolean. Allow indices to be negative? Defaults to FALSE |
Value
matched indices
Author(s)
Jose Eduardo Meireles
[Package spectrolab version 0.0.19 Index]