Learn R Programming

spectrolab (version 0.0.18)

i_match_label_or_idx: 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
)

Value

matched indices

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

Author

Jose Eduardo Meireles