Learn R Programming

spectrolab (version 0.0.18)

i_match_label: Match label

Description

Match label

Usage

i_match_label(
  x,
  i,
  full = FALSE,
  allow_empty_lookup = FALSE,
  allow_negative = FALSE
)

Value

matched indices, or list in case full = TRUE

Arguments

x

label vector

i

picked label 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 labels to be negative? Defaults to FALSE

Author

Jose Eduardo Meireles