Skip to main content

Rf_match_unchecked

Function Rf_match_unchecked 

Source
unsafe extern "C-unwind" fn Rf_match_unchecked(
    x: SEXP,
    table: SEXP,
    nomatch: c_int,
) -> SEXP
Expand description

Match elements of first vector in second vector.

Like R’s match() function.

§Parameters

  • x: Vector of values to match
  • table: Vector to match against
  • nomatch: Value to return for non-matches

§Returns

Integer vector of match positions (1-indexed, nomatch for non-matches). Unchecked FFI binding for Rf_match. Generated from source location line 3744, column 8. Generated from source file miniextendr-api/src/ffi.rs.